Get-ReceiveConnector -remoteIPRanges is truncated
We have a Receive Connector on our Edge server that has dozens of IP addresses & ranges listed as allowed to relay - I'd like to list them all. Every attempt truncated the results way before the end of the list.
Tried things like Get-ReceiveConnector "connector Name"|select remoteipranges | out-file C:\fred.txt
and
Get-ReceiveConnector "connector Name" |select remoteipranges|ft -autosize -wrap
and
Get-ReceiveConnector "connector Name" |select remoteipranges|fl
All of these result in a comma delimited list that ends with ellipses (...)
Any suggestions? THanks!
September 16th, 2010 4:03pm
Try to add: -ResultSize Unlimited parameter to the command. That paramenter works for other commands.
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
September 16th, 2010 4:31pm
Great idea - but Get-ReceiveConnector doesn't accept that parameter. THanks anyway.....
September 16th, 2010 5:03pm
Try this:
Get-ReceiveConnector "connector Name" |select -expand remoteipranges[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
September 16th, 2010 5:12pm
I am not in front of my exchange server so I can't test, but found this link that seems like it is what you are looking for:
http://www.eggheadcafe.com/software/aspnet/32757408/connector--getreceiveconnector-myconnector-connector.aspx
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com
September 16th, 2010 5:12pm