Exploring Desired State Configuration
PowerShell Desired State Configuration (DSC) is a feature that enables you to manage your servers using PowerShell configuration as code.
At the time of writing, the following versions of DSC are available that you can use for deployment: DSC 1.1, DSC 2.0, and DSC 3.0.
While DSC 1.1 was included in Windows PowerShell 5.1, in DSC 2.0, which must run DSC on PowerShell 7.2 and above, PSDesiredStateConfiguration is no longer included in the PowerShell package. This enables the DSC creators to develop DSC independently of PowerShell and enables users to upgrade DSC without the need to upgrade PowerShell as well.
DSC 1.1
DSC 1.1 is included in Windows and updated through Windows Management Framework. It runs in Windows PowerShell 5.1. This is the go-to version if Azure Automanage Machine Configuration is not in use.
Remediation
DSC 1.1 has two configuration modes:
- Push: The configuration is pushed manually
- Pull: The nodes...