PowerShell DSC: A configuration is pending (MI RESULT 11)

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:

Googling the error led me to the solution here.

Basically:

  1. Delete C:\windows\system32\configuration\pending.mof;
  2. Stop all WMI processes;
  3. Restart the WinRM service;

 

(No, I haven’t forgotten to restart WMI processes.).

PowerShell 4.0

One thought on “PowerShell DSC: A configuration is pending (MI RESULT 11)

Please feel free to leave a comment...