title: Powershell - calling remote WMI objects - RPC error HRESULT: 0x800706BA (RPC server not available)
body: <p>I've got some troubles with Get-WmiObject and usage of this object.</p>
  
  <p>In case, I'm connecting to remote computer - which is not in AD, but in the internet.</p>
  
  <p>I'm using credentials and I'm able to retrieve list of WMI classes, or object (to be specific, I want to work with Win32_Process) via commands:</p>
  
  <pre><code>$credential = Get-Credential
  $class = Get-WmiObject -list -computer "xyz" -credential $credential | Where-Object {$_.Name -eq "Win32_Process" }
  $object = Get-WmiObject -class Win32_Process -computer "xyz" -credential $credential
  </code></pre>
  
  <p>When I change the hostname or credentials, then I got and error of "RPC not available", or unauthorized access. Therefore I assume, that RPC server and retrieving of WMI objects &amp; classes works.</p>
  
  <p>But when I retrieve them, I'm not able to work with them. In any case of trying it (calling method, or Get-Member) it's throwing this error:</p>
  
  <pre><code>"Server RPC není k dispozici. (Výjimka na základě hodnoty HRESULT: 0x800706BA)"
  (It's a czech localization of: Server RPC is not available. (Exception based on the value of HRESULT: 0x800706BA)
  </code></pre>
  
  <p>I haven't found any other example of similar error. I'm using PowerShell 1.0 on Vista Ent. machine. Target machine is Win2003 R2 (Product server will be Win. Serv. 2008 - not tested yet).</p>
  
  <p>I would appreciate any advice. Thank you.</p>