title: Run remote process by powershell
body: <p>I have the following line of code to create object to access to a remote server before I associate it with user name, password and process:</p>
  
  <pre><code>$process = [WMIClass]"\\remoteServer\ROOT\cimv2:Win32_Process"
  </code></pre>
  
  <p>I tried this on two PCs, one is OK without any errors, but another one I am going to run has an exception: </p>
  
  <pre><code>Cannot convert value "\\remoteServer\ROOT\cimv2:Win32_Process" to type "System.Manage
    ment.ManagementClass". Error: "Access is denied. (Exception from HRESULT: 0x800
    70005 (E_ACCESSDENIED))"
  </code></pre>
  
  <p>The remoteServer is the same one. Not sure what I have to set on local PC or remote PC to make this work? On both client PCs, the user names are all member of Administrators.</p>