View Single Post
Old 04-10-2008   #3 (permalink)
Oisin (x0n) Grehan [MVP]
Guest
 
Posts: n/a

Re: A question about firewall & powershell

On Apr 9, 10:59*pm, "Michael Gao" <michael...@xxxxxx> wrote:
Quote:

> I always use gwmi to get information on remote computer. But some of them
> enabled firewall. So I got error message like:
>
> Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT:
> 0x800706BA)
> At line:1 char:5
>
> Does anybody know how can I config Windows Firewall on remote server so I
> can access it via Powershell?
>
> Michael
Unless you have some special solution and/or rules in place that
allows firewalls to be remotely configured, I think you're out of
luck. Being able to remotely configure a firewall to enable a rule for
the protocol that itself must be used to remotely configure a firewall
is a bit chicken-and-egg, no? ;-)

- Oisin