title: What are the permissions required for CIMSessions
body: <p>I need to query some WMI classes on Servers that I do not have permissions.
  Here is the error I get when I run it.</p>
  
  <pre><code>PS&gt; get-ciminstance -ComputerName test.mydomain.com -ClassName Win32_OperatingSystem
  get-ciminstance : Access is denied.
  At line:1 char:1
  + get-ciminstance -ComputerName test.mydomain.com -ClassName Win32_Operating ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : PermissionDenied: (root\cimv2:Win32_OperatingSystem:String) [Get-CimInstance], CimException
      + FullyQualifiedErrorId : HRESULT 0x80070005,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand
      + PSComputerName        : test.mydomain.com
  </code></pre>
  
  <p>Right now server has PowerShell 2, so it uses DCOM but I will get the PowerShell upgraded and configured to allow WSMAN connections.</p>
  
  <p>But what are the permissions that need to be granted to the account?</p>