Exchange 2013 - Powershell output not showing all results

Scotch Tech
Scotch Tech used Ask the Experts™
I get the 3 dots (...) in the results. I'm using this command:
Get-ReceiveConnector | where {$_.Identity -like "*MailRelay*"} | ft Identity,remote* -AutoSize -Wrap

I've set the enumeration to unlimited

$FormatEnumerationLimit =-1
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Chris DentPowerShell Developer
Top Expert 2010

FormatEnumerationLimit affects the number of items displayed from an array, I take it that's what the command is attempting to show? If the command is presenting you with ellipses, use something other than Format-Table.
Try this:

Get-ReceiveConnector | Where-Object {$_.Identity -like '*MailRelay*'} | Select-Object -ExpandProperty remoteipranges

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial