Windows Commands / IT Support Guides
Find CPU-heavy processes with PowerShell
Use Get-Process to see which programs have accumulated the most CPU time.
Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified
Understand the problem
Run PowerShell on the affected computer. Note the time and the application that felt slow.
Run the command
The displayed command sorts processes by CPU and returns the first ten, with their names, IDs and working-set sizes.
Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 Name, Id, CPU, WorkingSet64
Read the output
CPU is the total processor time used since a process started, in seconds. A value of 900 means it accumulated 900 CPU seconds. WorkingSet64 is the current amount of physical memory in its working set, in bytes.
Choose the next step
If a process stands out, check live CPU use in Task Manager during the slowdown. Match the process ID because multiple instances can share a name.
Before making changes
Record the process name, ID and symptom before asking anyone to stop it. Processes running for longer can rank high even when they are currently idle.