Build Custom Windows PowerShell Desired State Configuration Resources
Applies To: Windows PowerShell 4.0, Windows PowerShell 5.0
Windows PowerShell Desired State Configuration (DSC) has built-in resources that you can use to configure your environment. This topic provides an overview of developing resources and links to topics with specific information and examples.
DSC resource components
A DSC resource is a Windows PowerShell module. The module contains both the schema (the definition of the configurable properties) and the implementation (the code that does the actual work specified by a configuration) for the resource. A DSC resource schema can be defined in a MOF file, and the implementation is performed by a script module. Beginning with the support of PowerShell classes in version 5, the schema and implementation can both be defined in a class. The following topics describe in more detail how to create DSC resources.