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 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.