|
| Re: A question about firewall & powershell |
 |
Thu, 10 Apr 2008 09:43:48 -030 |
Michael Gao wrote:
> 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
For Vista and Server 2008:
http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!990.entry
Marco
--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp
PowerGadgets MVP
http://www.powergadgets.com/mvp
Blog:
|
| Post Reply
|
| Re: A question about firewall & powershell |
 |
Thu, 10 Apr 2008 10:43:03 -070 |
On Apr 9, 10:59 pm, "Michael Gao" <michael...@vip.sina.com>
wrote:
> 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? ;-)
|
| Post Reply
|
| Re: A question about firewall & powershell |
 |
Thu, 10 Apr 2008 10:44:10 -070 |
On Apr 10, 1:43 pm, "Oisin (x0n) Grehan [MVP]"
<ois...@gmail.com>
wrote:
> On Apr 9, 10:59 pm, "Michael Gao" <michael...@vip.sina.com>
wrote:
>
> > 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
Having read that again, I just realised that you probably didn't mean
remote configure, just configure. Never mind! ;-)
|
| Post Reply
|
| A question about firewall & powershell |
 |
Thu, 10 Apr 2008 10:59:57 +080 |
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
|
| Post Reply
|
|
|
|
|
|
|
|
|
|