Table of contents

PSDesiredStateConfiguration Module

JuanPablo Jofre|Last Updated: 12/14/2016
|
3 Contributors

Description

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.

PSDesiredStateConfiguration Cmdlets

Disable-DscDebug

Stops debugging of DSC resources.

Enable-DscDebug

Starts debugging of all DSC resources.

Get-DscConfigurationStatus

Retrieves data about completed configuration runs.

Get-DscConfiguration

Gets the current configuration of the nodes.

Get-DscLocalConfigurationManager

Gets LCM settings and states for the node.

Get-DscResource

Gets the DSC resources present on the computer.

Invoke-DscResource

Runs a method of a specified DSC resource.

New-DSCCheckSum

Creates checksum files for DSC documents and DSC resources.

Publish-DscConfiguration

Publishes a DSC configuration to a set of computers.

Remove-DscConfigurationDocument

Removes a configuration document from the DSC configuration store.

Restore-DscConfiguration

Reapplies the previous configuration for the node.

Set-DscLocalConfigurationManager

Applies LCM settings to nodes.

Start-DscConfiguration

Applies configuration to nodes.

Stop-DscConfiguration

Stops a running configuration.

Test-DscConfiguration

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

Update-DscConfiguration

Checks the pull server for an updated configuration and applies it.

© 2017 Microsoft