Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

List all RelayIpRanges with Get-ReceiveConnector

3,194 views
Skip to first unread message

cisg...@hotmail.com

unread,
Jul 28, 2008, 8:53:38 AM7/28/08
to
Hello,

in the EMS, I would like to get a list of all the RemoteIPRanges of a
connector.
With the command
Get-ReceiveConnector | select RemoteIPRanges | format-list
I'm able to get a list of IP-ranges, but it stops at a certain point
(after 16 ip-addresses). Because I've added more IP-ranges to a
specific connector, I would like to know how I can list ALL IP-
addresses.
Is there a command to export the complete list of IPRanges, without
exceptions?

Thanks in advance!

Bharat Suneja [MSFT]

unread,
Jul 28, 2008, 11:39:37 AM7/28/08
to
$Connector = Get-ReceiveConnector "MyConnector"; $Connector.RemoteIPRanges

or
$Connector = Get-ReceiveConnector "MyConnector"; $Connector.RemoteIPRanges |
ft lowerbound,upperbound,netmask -Autosize

--
Bharat Suneja
Microsoft Corporation
blog: exchangepedia.com/blog

This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------


<cisg...@hotmail.com> wrote in message
news:0c48547c-aefb-4a1a...@a1g2000hsb.googlegroups.com...

Bharat Suneja [MSFT]

unread,
Jul 28, 2008, 5:08:18 PM7/28/08
to
... or:
(Get-ReceiveConnector "MyConnector").RemoteIPRanges

PowerShell: Listing multi-valued attributes
http://exchangepedia.com/blog/2008/07/powershell-listing-multi-valued.html

--
Bharat Suneja
Microsoft Corporation
blog: exchangepedia.com/blog

This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------


"Bharat Suneja [MSFT]" <bsu...@online.microsoft.com> wrote in message
news:%23CcvlgM...@TK2MSFTNGP06.phx.gbl...

cisg...@hotmail.com

unread,
Jul 29, 2008, 3:13:03 AM7/29/08
to
Thank you! Because I didn''t need the $Connector for further commands,
that last command helped me out:
(Get-ReceiveConnector "MyConnector").RemoteIPRanges > C:
\RemoteIPRanges.txt

Christian
www.itexperience.net


On 28 jul, 23:08, "Bharat Suneja [MSFT]"


<bsun...@online.microsoft.com> wrote:
> ... or:
> (Get-ReceiveConnector "MyConnector").RemoteIPRanges
>

> PowerShell: Listing multi-valued attributeshttp://exchangepedia.com/blog/2008/07/powershell-listing-multi-valued...


>
> --
> Bharat Suneja
> Microsoft Corporation
> blog: exchangepedia.com/blog
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights. Please do not send email directly to this alias. This alias is for
> newsgroup purposes only.
> ----------------------------
>

> "Bharat Suneja [MSFT]" <bsun...@online.microsoft.com> wrote in messagenews:%23CcvlgM...@TK2MSFTNGP06.phx.gbl...


>
>
>
> > $Connector = Get-ReceiveConnector "MyConnector"; $Connector.RemoteIPRanges
>
> > or
> > $Connector = Get-ReceiveConnector "MyConnector"; $Connector.RemoteIPRanges
> > | ft lowerbound,upperbound,netmask -Autosize
>
> > --
> > Bharat Suneja
> > Microsoft Corporation
> > blog: exchangepedia.com/blog
>
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights. Please do not send email directly to this alias. This alias is for
> > newsgroup purposes only.
> > ----------------------------
>

> > <cisgoo...@hotmail.com> wrote in message


> >news:0c48547c-aefb-4a1a...@a1g2000hsb.googlegroups.com...
> >> Hello,
>
> >> in the EMS, I would like to get a list of all the RemoteIPRanges of a
> >> connector.
> >> With the command
> >>  Get-ReceiveConnector | select RemoteIPRanges | format-list
> >> I'm able to get a list of IP-ranges, but it stops at a certain point
> >> (after 16 ip-addresses). Because I've added more IP-ranges to a
> >> specific connector, I would like to know how I can list ALL IP-
> >> addresses.
> >> Is there a command to export the complete list of IPRanges, without
> >> exceptions?
>

> >> Thanks in advance!- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

0 new messages