Skip to content

Instantly share code, notes, and snippets.

@torgro
Created January 10, 2016 22:40
$invokeCim = @{
Namespace = "root/Microsoft/Windows/DesiredStateConfiguration"
Class = "MSFT_DSCLocalConfigurationManager"
Method = "PerformRequiredConfigurationChecks"
Arguments = @{Flags = [System.UInt32]1}
}
Invoke-CimMethod @invokeCim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment