You would expect
Get-Process to do the job, but it turns out that its CPU metric is not on a 0..100% scale.
Here is a one-liner (find who's eating into your CPU - or that of a remote server):
For some reason, the total percentage of all selected processes can be greater than 100, I'm guessing there was a measurement lag. Don't forget to initialize
$servername (or hard code it before executing).
Credit goes here.