Top 10 cpu usage process

Hi,

   how can i retrieve top 10 cpu usage process from powershell.

August 28th, 2015 1:53pm

Did you ask a search engine?

What have you tried? What isn't working?

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 1:56pm

i banged my head and also tried search engine, but none of them giving me the right answer

1) get-process

2) WMI

I have tried with these 2 , but i cannot get the desired output

August 28th, 2015 1:57pm

Specifics.

What's wrong with the output? What did you actually do?

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 1:59pm

Get-Process | select *,@{N='CPUPC';E={[float]$_.cpu}}|sort CPUPC -desc|select name,CPU -first 10

August 28th, 2015 2:01pm

i have tried this but the CPU in this is something else, not the one that is coming in task manager
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 2:04pm

Different format,different calculation; same meaning.

You can also use Get-Counter and the same method oof select Top 'N' values.

August 28th, 2015 2:17pm

can you please give me that get-counter thing
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 2:20pm

HELP Get-Counter -full

August 28th, 2015 2:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics