Results from Powershell Get-SPWeb are Being Truncated with .... Periods

Hello, we are working some migration from a legacy system into SharePoint and I Want to generate a list of all of the subsites but every time we try to generate a list of the URLs powershell truncates the length of the URL we have tried multiple different ways of generating the script like from a ps1 file or the limit all setting.  How do you tell powershell to not truncate the length of the URL in a powershell result query.

Get-SPSite https://anywebapplication.domain.com/sites/CommunitySite06 | Get-SPWeb

https://anywebapplication.domain.com/sites/CommunitySit...

https://anywebapplication.domain.com/sites/CommunitySit...

https://anywebapplication.domain.com/sites/CommunitySit...

April 3rd, 2013 7:25pm

 Get-SPSite https://anywebapplication.domain.com/sites/CommunitySite06 | Get-SPWeb | format-table -autosize
Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2013 7:29pm

Thanks for the fix.  all work and no play makes Jack a dull boy!
April 3rd, 2013 7:34pm

For anybody else who tries to use this the format-table -Wrap autosize can still truncate but I used the -wrap and was able to get everything I wanted in the results.

Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2013 8:25pm

if you have multiple columns, better to expand PS window (layout).

Get-something | select Id, DisplayName, CompatibilityLevel, Scope | format-table -aut
osize >c:\test.txt

July 4th, 2013 6:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics