Forum Discussion
erickgomes
Jun 22, 2019Copper Contributor
CPU Load Percentage PowerShell Windows Server 2019
Hello friends I want to check the percentage of use of Windows Server 2019 Server processors. I tried to use the query I was doing with Windows Server 2012, but it returns me the empty value. C...
- Jun 24, 2019
friends,
I got it with the simple code below
wmic cpu get loadpercentage
If anyone else needs it.
Thank you all for the attention!
Jon Alfred Smith
Jun 24, 2019Copper Contributor
erickgomes Your command does not appear to work, neither on Windows 10 nor Windows Server 2019. Try this one instead:
Get-WmiObject -class win32_processor | Measure-Object -property LoadPercentage -Average | Select-Object -ExpandProperty Average
erickgomes
Jun 24, 2019Copper Contributor
- erickgomesJun 24, 2019Copper Contributor
friends,
I got it with the simple code below
wmic cpu get loadpercentage
If anyone else needs it.
Thank you all for the attention!
- DarrickJun 27, 2019Brass Contributor