Format-Table
Get-Process | Format-Table -Property Name, Id, CPU
Format-List
Get-Service | Format-List -Property Name, Status, StartType
Format-Wide
Get-ChildItem | Format-Wide -Column 4
Out-GridView
Get-Process | Out-GridView
ConvertTo-Html
Get-Service | Select-Object Name, Status, StartType | ConvertTo-Html
ConvertTo-Csv
Get-Process | Select-Object Name, Id, CPU | ConvertTo-Csv -NoTypeInformation
Format-Custom
Get-ChildItem | Format-Custom -View `
@{ Name="Name"; Expression={$_.Name} },
@{ Name="Size"; Expression={$_.Length} }
Format-Table -AutoSize
Get-ChildItem | Format-Table -AutoSize
Out-File
Get-Process | Out-File -FilePath C:\temp\processes.txt
Out-Null
Stop-Process -Name notepad | Out-Null