Skip to content

Instantly share code, notes, and snippets.

@rayterrill
Created June 3, 2016 22:06
Show Gist options
  • Save rayterrill/c95365a082bd025eb359d6b0c93faaf2 to your computer and use it in GitHub Desktop.
Save rayterrill/c95365a082bd025eb359d6b0c93faaf2 to your computer and use it in GitHub Desktop.
#get the CPU Steal Time value from VMWare
$stolenProperty = Get-CimInstance Win32_PerfRawData_vmGuestLib_VCPU -Property CpuStolenMs | Select-Object -Property CpuStolenMs
Write-Host $stolenProperty.CpuStolenMs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment