I'm running the following command:
Get-SendConnector -Identity "Send Connector Name" | ft -autosize -wrap
-property AddressSpaces
We have over 20 domains in this list. When I run this command it lists
16 of these domains and then just sticks ... at the end.
If I leave out the -wrap switch the output lists only 3 domains.
How can I get this command to list ALL the contents of the AddressSpaces
property?
Thanks
---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar: http://tinyurl.com/PSToolbar
sh> Greetings,
sh>
sh> I'm running the following command:
sh>
sh> Get-SendConnector -Identity "Send Connector Name" | ft -autosize
sh> -wrap -property AddressSpaces
sh>
sh> We have over 20 domains in this list. When I run this command it
sh> lists 16 of these domains and then just sticks ... at the end.
sh>
sh> If I leave out the -wrap switch the output lists only 3 domains.
sh>
sh> How can I get this command to list ALL the contents of the
sh> AddressSpaces property?
sh>
sh> Thanks
sh>
Get-SendConnector -Identity "Send Connector name" | fl -property
AddressSpaces
(I had to drop the wrap & autosize switches)
>Same result - I still get a truncated list. The command I used:
>
>Get-SendConnector -Identity "Send Connector name" | fl -property
>AddressSpaces
If all you're after is the address spaces yu could try something like
this:
(Get-SendConnector "Send Connector
name").addressspaces|foreach{$t=$_.type;$a=$_.address;$c=$_.cost;"$t`t$a`t$c"}
The default Powershell formatter for arrays won't list all the values
if there are more than "X" number of them.
---
Rich Matheisen
MCSE+I, Exchange MVP
Doe's this do any good?
Get-SendConnector -Identity "Send Connector name" | Select-Object -expand
AddressSpaces
---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar: http://tinyurl.com/PSToolbar
sh> Same result - I still get a truncated list. The command I used:
sh>
sh> Get-SendConnector -Identity "Send Connector name" | fl -property
sh> AddressSpaces
sh>
sh> (I had to drop the wrap & autosize switches)
sh>
sh> Shay Levy [MVP] wrote:
sh>