Windows Performance: CPU High Utilization

This will give the current queue length: Get-Counter -Counter "\System\Processor Queue Length"    This will give the average utilization of your CPU: "Average CPU Usage per 10 samples: $([math]::round((get-counter -Counter "\Processor(_Total)\% Processor Time" -SampleInterval 1 -MaxSamples 10 | select -ExpandProperty countersamples | select -ExpandProperty cookedvalue | Measure-Object -Average).average,2))%"   This will give you the top... Continue Reading →

Blog at WordPress.com.

Up ↑