My situation was that was running the remote PowerShell command
restart-Computer when I got
this error message on the Windows 7 machine: The RPC server is unavailable. (Exception from HRESULT:
0x800706BA)
The Cause of Code 800706BA
The underlying cause of my problem was WMI. I was using PowerShell
cmdlets such as get-WmiObject that were trying to access data on another
Windows 7 computer. What happened was that the firewall was correctly, blocking
the RPC ports 135 and 445. Thus I simply disabled the firewall on the
target machine and the command then completed successfully.
‡
Example of PowerShell Script
Restart-Computer -computerName LittleServer
# or
Stop-Computer -computer ExchServer
Guy
Recommends: WMI Monitor and It's Free!
Windows Management Instrumentation (WMI) is one of the hidden
treasures of Microsoft operating systems. Fortunately, Solarwinds
have created the
WMI Monitor so that you can examine these gems of
performance information for free. Take the guess work out of which
WMI counters to use for applications like Microsoft Active Directory,
SQL or Exchange Server.
The extra features you get in your eBook
include, more pages full of detailed examples. Also, ten 'how to...'
sections, with screen shots showing which menus to use. Go for Guy's
eBook - and get a printable version with copy enabled and no expiry date.
Thus utility makes it easy to check the health of a router or firewall. Check the real-time performance and availability statistics for any device
on your network.