https://obscureproblemsandgotchas.com/development/powershell/get-cpu-and-memory-utilization-in-percentage-via-powershell/
Get CPU and Memory utilization in percentage via PowerShell