
The first thing I did was start watching the Microsoft JumpStart series on DSC. I’ve never had a reason to look into it though… until now. I’ve heard it talked about constantly over the last year or two and all of the major PowerShell bloggers have stated that it is the concept to learn after you’ve got the basics of PowerShell down. As I was researching how I might accomplish this, I stumbled across something called “Desired State Configuration” or DSC. That turns out to be a non-trivial problem for traditional PowerShell scripts. But what happens if you want to combine them together? In order to do that, you have to be able to manage restarts and be able to continue your script where it left off. I found myself curious if I could get my entire lab environment to build itself from scratch in a 100% automated fashion including deploying and configuring Active Directory.Īll of the cmdlets to perform these tasks already exist in PowerShell and are trivial to perform individually.
