How to get process output in GridView format in PowerShell ?
要在PowerShell中以gridview格式获取输出,您需要对Out-GridView变量进行流水线处理,以便输出为GUI格式。
命令
1 | Get-Process | Sort-Object CPU -Descending | Select -First 10 | Out-GridView -Title"Top 10 CPU usage processes" |
要在PowerShell中以gridview格式获取输出,您需要对Out-GridView变量进行流水线处理,以便输出为GUI格式。
命令
1 | Get-Process | Sort-Object CPU -Descending | Select -First 10 | Out-GridView -Title"Top 10 CPU usage processes" |