PowerShell: Get Top 10 Hight CPU Usage List

User avatar
Site Admin
Posts: 17
Joined: Mon Jun 17, 2019 2:19 pm

PowerShell: Get Top 10 Hight CPU Usage List

Postby hamid Wed Dec 11, 2019 10:12 pm

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
Microsoft MVP: Cloud and Datacenter Management

Return to “PowerShell Learning”

Who is online

Users browsing this forum: No registered users and 2 guests