Join Matt Hester for an in-depth discussion in this video Using the exercise files, part of PowerShell Desired State Configuration Essential Training.
- Now during this course of Desired State Cofiguration you're going to see a lot of examples and sample files that I use in leverage to show how this technology works. While they're technically exercise files and you can follow along and work with these same files for your environment, as I go through Desired State Configuration, I really think these are great examples that you can learn and use Desired State Configuration. I look at these exercise files more as leave-behinds than actually follow-along types of files. But there's a couple things you're going to want to know about how I got the exercise files, where I'm using and leveraging them, so you can go find those resources for yourself after the course.
First off, a lot of the samples that I use in examples I pull from the Desired State Configuration Resource Kit which is available on GitHub, I'll show you where that is in just a moment. And the sample website that I use comes from Microsoft's WebMatrix Version Three, and what's great about that little website is it actually provides a sample Fourth Coffee Bakery website that you'll see throughout this course that I use just to show how Desired State Configurations can be used to push content in my examples to a web server. And lastly, the exercise files that you'll get as a part of this course, you're going to want to modify for your own servers.
I have my specific servers that I use, the specific node names, as well as the particular directories and locations where I store files. So you're going to want to make sure that if you do use these exercise files, they're not going to work right away for you. You're going to have to do some tuning and tweaking for your environment. Let me show you just where we can get the WebMatrix and the Desired State Configuration Resource Kit. Let me flip over to my browser. The WebMatrix Kit is a free download. I use the WebMatrix just so I can get some sample content that I can actually push and pull onto my webservers with Desired State Configuration, but if you're a web developer, I'd also recommend this tool.
It has a lot of great resources for that functionality in addition to what I use it for, to show you Desired State Configuration. The other one is the PowerShell Desired State Configuration Resource Kit, you can get that on GitHub. There's a wonderful collection resources here and samples. Some of the samples that I show you during the course might look similar because some of them come from some of the resources that are here. This is a great place to learn how to do a lot of things. Not only does it provide the resources, it also provides some great, solid Powershell examples and how to take advantage of Desired State Configuration.
As you can see, there will be some exercise files throughout this course, but they're really designed to be leave-behinds for you to take advantage of Desired State Configuration after this course.
Current IT pros will need to understand DSC as they move into managing Microsoft's next wave of server and cloud products that will leverage this important technology. In this course, Matt Hester shows how to write configuration documents, work with DSC resources, and apply configurations to systems via both push and pull modes. Plus, he shows how to troubleshoot DSC and use DSC in non-Windows environments like Linux.
- Why we need DSC
- Understanding DSC architecture
- Working with built-in and custom resources
- Creating a DSC configuration
- Staging configured data
- Creating, testing, and restoring DSC configurations with the push model
- Configuring pull servers
- Creating and testing DSC configurations with the pull model
- Using DSC in Linux environments
- Troubleshooting DSC