Export (0) Print
Expand All

Windows PowerShell Desired State Configuration Cmdlets

Windows PowerShell 4.0

Updated: April 28, 2015

Applies To: Windows Server 2012 R2

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Desired State Configuration Cmdlets

This reference provides cmdlet descriptions and syntax for all Desired State Configuration cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.


Cmdlet Description


Gets the current configuration of the node.


Gets Local Configuration Manager settings for the node.


Gets Desired State Configuration resources present on the computer.


Creates checksum files for Desired State Configuration documents and Desired State Configuration resources.


Removes a configuration document after configuration.


Restores the previous configuration for the node.


Applies Local Configuration Manager settings to nodes.


Applies configuration to nodes.


Stops a configuration job that is currently running.


Tests whether the actual configuration on the nodes matches the desired configuration.


Runs the existing configuration on a computer.

To list all the cmdlets that are available, use the Get-Command –Module PSDesiredStateConfiguration cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about the cmdlets, see the following:

Windows PowerShell Desired State Configuration Overview

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

Community Additions

© 2015 Microsoft