From the course: Azure for DevOps: Application Infrastructure
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
PowerShell Desired State Configuration for machine configuration - Azure Tutorial
From the course: Azure for DevOps: Application Infrastructure
PowerShell Desired State Configuration for machine configuration
- [Instructor] So far we've discussed how to bring our environments into compliance through security center, policies, and blueprints. Now we want to look at how to manage drift in our VMs. The platform we're looking at for configuration management is PowerShell DSC, or desired state configuration for machine configuration. I know it's a mouthful. If you've used Windows PowerShell DSC, there are some differences. At the time we're recording, the latest version is DSC 3. At this point, you're probably asking we already have PowerShell. Why do we need this? Similar to our IaC tools, it's declarative syntax. We specified the desired state and it'll take care of the rest. It's also idempotent so we can repeat deployments and expect the same results. Lastly, the configuration we specify becomes our documentation and source of truth. We've discussed similarities between orchestration and configuration management tools.…