Formatting

Format-Table

Resize the table with

Get-Process | ft -AutoSize
Get-Process | Format-Table

Select properties

Get-Process | Format-Table -property *
Get-Process | Format-Table -property ID,Name,Responding -autoSize
Get-Process | Format-Table * -autoSize

Group By

Get-Service | Sort-Object Status | Format-Table -groupBy Status

Rename Column

Get-Service | Format-Table @{n='ServiceName';e={$_.Name}},Status,DisplayName

Select columns and calculate size

Get-Process | Format-Table Name, @{n='VM(MB)';e={$_.VM / 1MB -as [int]}} -autosize

Format-List

Get-Process | Format-List

Format-Wide

Get-Process | format-wide
Get-Process | fw -AutoSize
Get-Process | fw -Column 3

Out-GridView

Create a pop-up with a grid, sorting grid an search box

Get-Process | Out-GridView