Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

前端 未结 16 2033
失恋的感觉
失恋的感觉 2020-12-08 13:32

When I run

Get-WmiObject win32_SystemEnclosure -Computer hostname | select serialnumber

it works for both local and remote hosts.

W

16条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 14:11

    If you've tried some of the suggestions in the other answers, most notably:

    • David Brabant's answer: confirming the Windows Management Instrumentation (WMI) inbound firewall rule is enabled
    • Abhi_Mishra's answer: confirming DCOM is enabled in the Registry

    Then consider other common reasons for getting this error:

    • The remote machine is OFF
    • You specified an invalid computer name
    • There are network connectivity problems between you and the target computer

提交回复
热议问题