Reputation: 3481
Format-Table
has -wrap
, which is great when a text needs to wrap around due to console limited size or when outputting to file.
does select-object
have something like that? if not, how can i wrap around values for select-object
?
Upvotes: 0
Views: 622
Reputation: 606
Select-Object
is not a text formatting tool like Format-Table
is. but you can pipe the output of Select-Object
to Format-Table
Get-Process | Select-Object cpu,id | Format-Table -Wrap
Upvotes: 4