PowerShell/demos/DSC
2021-12-15 16:38:37 -08:00
..
dsc-demo.ps1 Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
readme.md Fix the DSC overview URL in a markdown file and some small cleanup changes (#16629) 2021-12-15 16:38:37 -08:00

DSC MOF Compilation Demo

PowerShell Desired State Configuration is a declarative configuration platform for Windows and Linux. DSC configurations can be authored in PowerShell and compiled into the resultant MOF document.

This demo shows use of PowerShell to author a DSC configuration to set the configuration of an Apache web server. PowerShell scripting is used to assess distribution and version-specific properties, such as the service controller and repo manager tools, for use in the configuration.

Prerequisites

Note: applying the DSC configuration requires privileges. The user must have sudo authorization capabilities. You will be prompted for a sudo password when running the demo.