I'm trying to run the following, to reset IIS on a remote machine.
If I disable the domain firewall, everything works fine. With the firewall enabled, I get
The RPC server is unavailable.
Initially I tried enabling Remote Administration (RPC-EPMAP) and any other rules that looked even tenuously related. Then I tried enabling all the predefined rules, but with no success.