Get-Process
SafeProcesses in PS
Get-Process | Sort CPU -Desc
Gets processes as objects; sort by CPU/memory to find heavy ones.
Examples
Get-Process | Sort CPU -Desc | Select -First 5Top 5 by CPU
Syntax
Get-Process [name] | Sort-Object CPU -Descending
Before you run it
Read-only.
Used when you see
CPU usage is pegged
1
See the whole flow →Identify the process consuming CPUSort by CPU and look at the top five.
Related commands
- Stop-ProcessKill process in PS
- tasklistList running processes
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store