Created
February 22, 2016 00:54
-
-
Save itpropro/cf6c9ee588a08bdfce4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Applies the pending configuration | |
Invoke-CimMethod -Namespace root\Microsoft\Windows\DesiredStateConfiguration -ClassName MSFT_DSCLocalConfigurationManager -MethodName ApplyConfiguration | |
#Starts a consistency check for the last applied config | |
Invoke-CimMethod -Namespace root\Microsoft\Windows\DesiredStateConfiguration -ClassName MSFT_DSCLocalConfigurationManager -MethodName PerformRequiredConfigurationChecks -Arguments @{Flags = [uint32]1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment