Powershell truncation
HiAnyone know how to remove truncation from a powershell report?Example, If I type:get-SendConnector "Connector 1" | flI see:AddressSpaces : {SMTP:*.domain.com;1, SMTP:*.domain.com;1...}I have shortened this for the purpose of the post, but the point is, even using -Wrap or -Autosize, I am unable to expand the output to include all listed domainsAny powershell experts out there know a trick to this?Thanks
November 5th, 2009 5:33pm
Try this...
On screen:
Get-SendConnector | Select Name, @{Name=AddressSpaces;Expression={[string]::join(";", ($_.AddressSpaces))}}
Export to CSV:
Get-SendConnector | Select Name, @{Name=AddressSpaces;Expression={[string]::join(";", ($_.AddressSpaces))}}| Export-CSV BlockedRecipient.csvAmit Tank MVP: Exchange Server | MCTS: Microsoft Exchange Server 2010, ConfigurationMCITP: EMA | MCSA: M | Blog: http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
November 5th, 2009 5:46pm
Brilliant, thanks!
November 6th, 2009 1:14pm