How to get process output in GridView format in PowerShell ?



To get the output in gridview format in PowerShell, you need to Pipeline the Out-GridView variable so the output will be in GUI format.

Command

Get-Process | Sort-Object CPU -Descending | Select -First 10 | Out-GridView -Title "Top 10 CPU usage processes"


Advertisements