How to get process output in GridView format in PowerShell ?

PowerShellMicrosoft TechnologiesSoftware & Coding

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"

raja
Published on 22-Jan-2020 16:54:51
Advertisements