On my vertical learning curve of the awesomeness that is DCS:
When trying to apply a MOF configuration to a server (push), the change was not being reflected and I received the error:
A configuration is pending. Please run Update-DscConfiguration or Start-DscConfiguration command with -Force parameter.
+ CategoryInfo : ResourceExists: (root/Microsoft/...gurationManager:String) , CimException
+ FullyQualifiedErrorId : MI RESULT 11
+ PSComputerName : MyRemoteServer
Googling the error led me to the solution here.
- Delete C:\windows\system32\configuration\pending.mof;
- Stop all WMI processes;
- Restart the WinRM service;
(No, I haven’t forgotten to restart WMI processes.).