View Single Post
Old 04-10-2008   #4 (permalink)
Oisin (x0n) Grehan [MVP]
Guest


 

Re: A question about firewall & powershell

On Apr 10, 1:43*pm, "Oisin (x0n) Grehan [MVP]" <ois...@xxxxxx>
wrote:
Quote:

> 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:
>
Quote:

> > Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT:
> > 0x800706BA)
> > At line:1 char:5
>
Quote:

> > Does anybody know how can I config Windows Firewall on remote server so I
> > can access it via Powershell?
>
Quote:

> > 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
Having read that again, I just realised that you probably didn't mean
remote configure, just configure. Never mind! ;-)

- Oisin
My System SpecsSystem Spec