Chapter 10. Managing Desired State Configuration

In this chapter, we cover the following recipes:

  • Using DSC and built-in DSC resources
  • Parameterizing the DSC configuration
  • Finding and installing DSC resources
  • Using DSC with resources from PS Gallery
  • Configuring the DSC local configuration manager
  • Implementing an SMB DSC pull server
  • Implementing a web-based DSC pull server
  • Using DSC partial configurations

Introduction

Desired State Configuration (DSC) is a 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 that the computer is configured accordingly, and that it remains so. This is simpler than writing complex scripts to configure ...

Get Windows Server 2019 Automation with PowerShell Cookbook - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.