PowerShell

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

PC is slow
1
Find the heavy processCheck top CPU/memory
See the whole flow →
CPU usage is pegged
1
Identify the process consuming CPUSort by CPU and look at the top five.
See the whole flow →
Suspected memory leak
2
Find the top memory consumers
See the whole flow →
OneDrive sync is stuck
1
Check (and restart) the OneDrive process
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store