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

前端 未结 16 2005
失恋的感觉
失恋的感觉 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:04

    Check that the "Windows Management Instrumentation (WMI-In)" rule is enabled in the firewall for each remote machine.

    Or in an Administrative Command/Powershell prompt run:

    netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes
    

提交回复
热议问题