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"

Updated on: 22-Jan-2020

508 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements