Page 1 of 1

PowerShell: Get Top 10 Hight CPU Usage List

Posted: Wed Dec 11, 2019 10:12 pm
by hamid
Hello Club!

Today I'm going to write a simple PoweShell Code which can help us to quickly list top 10 high CPU usage list in our environment.
Just by copying this code and pasting it in your PowerShell Windows will list the CPU usages.

::: NOTE :::
By changing the value of -First "0" you wil be able to get the desired number of the CPU usage list

Code: Select all

Get-Process | Sort-Object CPU -Descending | Select -First 10