From the course: PowerShell: Scripting for Advanced Automation

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Pushing a DSC configuration

Pushing a DSC configuration

From the course: PowerShell: Scripting for Advanced Automation

Start my 1-month free trial

Pushing a DSC configuration

- [Instructor] In the previous segment, we created two desired state configurations. One for configuring the Maps Broker service, or more specifically to stop and disable it, and the other to control the roles and features that may be installed or not installed on specific machines. We have these two configurations right here on ISC but so far we haven't done anything with them. Our goal now is to push them out, to test and configure target nodes. There is an important difference between these configurations. Notice how the installed roles configuration has the computer name as a variable. This is a perimeter that can accept input when you compile this configuration and then that variable is called as the target node. In our Stopped Maps configuration, things are a little simpler. We went ahead and called the node by name. In this case, we're using the localhost so that we can both test and see the results right here on one machine. To use these configurations, we need to create MOF…

Contents