title: Error 'Get-WmiObject : Invalid class "Msvm_ImageManagementService"'
body: <p>Recently I've been getting this error, and I have no idea what triggered it. The <a href="http://msdn.microsoft.com/en-us/library/cc136845%28v=vs.85%29.aspx" rel="nofollow">documentation</a> I found regarding this class is minimal and I'm not sure what I need to check or where to look in order to understand it and fix it.</p>
  
  <p>System:</p>
  
  <ul>
  <li>Windows Server 2012 R2 Datacenter Preview Build 9431</li>
  <li>PowerShell Version 4.0 32bit and 64bit</li>
  </ul>
  
  <p>Output:</p>
  
  <pre><code>PS &gt; Get-WmiObject -Class "Msvm_ImageManagementService" -Namespace "root\virtualization"
  
  Get-WmiObject : Invalid class "Msvm_ImageManagementService"
  At line:1 char:1
  + Get-WmiObject -Class "Msvm_ImageManagementService" -Namespace "root\virtualizati ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidType: (:) [Get-WmiObject], ManagementException
      + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
  </code></pre>