Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created December 18, 2015 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guitarrapc/2f59df48e2ab4dae8ec9 to your computer and use it in GitHub Desktop.
Save guitarrapc/2f59df48e2ab4dae8ec9 to your computer and use it in GitHub Desktop.
$LCMState = (Get-DscLocalConfigurationManager).LCMState
$Status = (Get-DscConfigurationStatus).Status
$RebootRequested = (Get-DscConfigurationStatus).RebootRequested
$ResourcesInDesiredState = (Get-DscConfigurationStatus).ResourcesInDesiredState
$ResourcesNotInDesiredState = (Get-DscConfigurationStatus).ResourcesNotInDesiredState
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment