From the course: PowerShell Desired State Configuration Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Testing DSC configurations - PowerShell Tutorial
From the course: PowerShell Desired State Configuration Essential Training
Testing DSC configurations
- [Voiceover] So as you start working with your DSC configurations and you actually use the Start-DscConfiguration cmdlet to actually apply those configurations and make it so, how do you know that it worked? Well there's a lot of common ways we can test it. And the first one I just simply call the eyeball test. Check to see if things are there so we know in the last configuration I installed ASP.NET 4.5 so what I can do is just run a quick check. Is that feature there? Did it get installed properly? Oh, it's there. Well also in that last configuration I actually installed IIS. Did the website show up? O yeah it is. I can actually see the default website. So you can use your eyeballs to check some of those things. You can even go in and take a look at some of the actual servers that we have and look for those features and functionalities. So if I refresh this, I should hopefully see IIS pop-up over there. So I can just do my eyeballs and see what some of those configurations are…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.