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