Export (0) Print
Expand All

Windows PowerShell Desired State Configuration Service

Published: June 24, 2013

Updated: March 5, 2014

Applies To: Windows PowerShell 4.0

Windows PowerShell Desired State Configuration (DSC) makes it possible to set up a server as a central configuration “pull” server. You can store the configurations of the computers (also known as nodes) in your environment on this pull server. The pull server can also store the custom DSC resources that the target nodes need for their configuration. This functionality is useful in environments where there are a large number of target nodes to configure, and where you want your target nodes to get the right configuration as they come online, and to check periodically for configuration updates. It is also possible to have a mixed environment where some target nodes are configured to use the pull mode while other nodes use the push mode. The latter is the default, and it requires you to push configuration updates to the target nodes that need them.

You can set up a server as a pull server by adding the DSC Service, which is a Windows Server feature. See Install or Uninstall Roles, Role Services, or Features for the different ways you can add a server feature. If you add the feature using the Add Roles and Features wizard of Server Manager, you will find the DSC Service listed under the Windows PowerShell feature in the menu.

After you set up a DSC pull server, you can configure the target nodes in such a way that they periodically check the pull server for configuration changes. At the intervals that you specify for a target node, it checks the configuration that is set for it on the pull server. If the configuration that is specified on the server differs from a node’s current configuration, the node also checks to see whether the new configuration requires DSC resources that are not currently present on the node. If so, it downloads the missing resources from the server. See Windows PowerShell Desired State Configuration Local Configuration Manager for the configuration settings you must specify on a target node to make it use the pull server scenario.

For basic instructions to set up a pull server, see How to Deploy and Discover Windows PowerShell Desired State Configuration Resources.

See also

  • Windows PowerShell Desired State Configuration Overview

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft