Useful DSC Commands

Update-DSCConfiguration -Wait -Verbose

Perform an on-demand pull server check and use the Wait and Verbose parameters to see the result

Test-DscConfiguration -Verbose

Perform a test to see if the server is in its desired state. Use the Verbose output to see each test and which, if applicable, is causing the test show it is not in its desired state.  Optionally, using the Detailed parameter will give a simple table of which resources are and are not in a desired state.

Start-DSCConfiguration -UseExisting -Wait -Verbose

Request the Local Configuration Manager to reprocess the current local configuration.  Useful when a server is testing false when using Test-DSCConfiguration. The added Wait and Verbose parameters help see the configuration being applied as the server is configured.

Advertisements
Useful DSC Commands

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s