< Previous Challenge - Home - Next Challenge>
The goals of this challenge include understanding:
- Use the built in DSC Resources on Windows Server
- Logistics to deploy a PowerShell DSC script to a Windows VM via ARM template
- Create a DSC script that creates 3 folders on the C:\ drive.
- Set up artifacts ("staging") location in Blob storage with SAS token
- Extend ARM template to deploy DSC extention onto the VM
- Add parameters for:
- Artifacts location
- Artifacts location SAS token
- DSC script archive file name
- DSC script function name
- Connect to the VM via Remote Desktop and verify that the three folders have been created on the C:\ drive.
- Windows PowerShell DSC Overview
- Built-in Windows Resources
- Securing PowerShell DSC within Azure ARM Templates
- Using PowerShell DSC in ARM Templates
- Desired State Configuration extension with ARM Templates
- Introduction to the Azure DSC extension handler
- PowerShell DSC Extension
- Pay attention to the version of the ARM template DSC extension resource. There have been multiple versions of it. Document samples you find may vary or use older versions that have beend deprecated.