Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.64 KB

authoringResource.md

File metadata and controls

27 lines (20 loc) · 1.64 KB
title ms.date keywords description ms.topic author manager ms.prod
Build Custom Windows PowerShell Desired State Configuration Resources
2016-05-16
powershell,DSC
article
eslesar
dongill
powershell

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. (For more information, see Built-In Windows PowerShell Desired State Configuration Resources.) 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.