偶爾在遠程計算機上工作時出現此錯誤。這是打在哪個電腦上,我打開它。但我能夠ping通電腦和測試連接盤。例如,今天我遇到了這個錯誤的計算機,我能夠到達昨天。我知道電腦開着,因爲它就在我旁邊。RPC服務器不可用。 (來自HRESULT的異常:0x800706BA)
Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
At line:1 char:14
+ get-wmiObject <<<< -Class win32_operatingsystem -ComputerName $current -Authentication 6 -credential $credential | Invoke-WMIMethod -name Win32Shutdown
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException
+ FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
可能重複? http://stackoverflow.com/questions/4657724/wmi-the-rpc-server-is-unavailable-exception-from-hresult-0x800706ba-throws – cirrus