This repository is a template that can be used as a starting point for creating new DSC modules and resources.
This project has adopted this Code of Conduct.
Please check out common DSC Community contributing guidelines.
A full list of changes in each version can be found in the change log.
This script is used to easily create new DSC modules and resources.
Please install Plaster first and make sure it's present.
Install-Module Plaster
Import-Module Plaster
Modules will be automatically created once you are creating a new DSC resource.
DSC resources can easily be deployed via the invocation of
.\New-CompositeResource.ps1
with parameters
.\New-CompositeResource.ps1 -Module XOAPModuleTemplateDSC -Version 0.0.1 -Resource ScheduledTasks
The parameter list is as followed:
Parameter | Description | Note |
---|---|---|
Module | Name of the outer module part | - |
Version | Target version of the module | - |
Ressource | The name of the ressource /config part | - |
You can review the Examples directory in the XOAPModuleTemplateDSC module for some general use scenarios for all the resources that are in the module.