Add a Module

Before you can upload a module to config.XO you need to write one on your authoring machine. You can find the prerequisites and tools here.

See this chapter to learn how to write PowerShell DSC modules here.

The Plaster template is used to create the correct module structure for a successful update. If you need special adjustments you should update the Plaster templates for your own needs.

Just for reference, this is the file structure how the module should look like.

Only zip the files inside the red box.

Module File Structure

When ready zip the folder for the next step.

Be sure to name the zip with the following naming schema: NameOfTheModule_x.x.x.zip

Example: XOSSBaselineModuleDSC_0.1.3.zip

Now switch to the modules area in config.XO and hti the AddModule button. A new window opens. Choose the created file and assign a tag to the configuration if you want to.

Code

Click Save

You should now see the module in the Modules area.

Code

If you specify needed modules in your DSC configurations all necessary modules will be added to this view during the processing phase. If you don´t specify a version for the modules the latest one will be used. This can lead to multiple versions of a module being present.

Modules written by yourself need to be uploaded manually because they cannot be downloaded from a public repository