如何在 PowerShell 中獲取網格檢視格式的程序輸出?
若要在 PowerShell 中獲取網格檢視格式的輸出,你需要管道傳輸 Out-GridView 變數,以便將輸出顯示為 GUI 格式。
命令
Get-Process | Sort-Object CPU -Descending | Select -First 10 | Out-GridView -Title "Top 10 CPU usage processes"

廣告
若要在 PowerShell 中獲取網格檢視格式的輸出,你需要管道傳輸 Out-GridView 變數,以便將輸出顯示為 GUI 格式。
Get-Process | Sort-Object CPU -Descending | Select -First 10 | Out-GridView -Title "Top 10 CPU usage processes"
