Introduction

Desired State Configuration (DSC) is management platform within Windows Server and is implemented with Windows PowerShell. DSC enables you to define a computer's desired state declaratively and have PowerShell ensure the computer is configured accordingly and remains so. This is simpler than writing complex scripts to configure a given computer. Microsoft added DSC with PowerShell and delivered improvements V5 and V/5.1 and Server 2016.

With DSC, you define a configuration that describes the details of how a given node (computer) is to be configured. The configuration defines a series of resources to be invoked on the node and how these resources should be configured. A DSC resource is PowerShell code and executable that knows ...

Get Windows Server 2016 Automation with PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.