Hi Guys,
I have tried to find the processor property in the attached jpg. Anyone who how i can find the power management policy?
Thanks
Dougie
You can get the Power Management Policy of all your hosts with:
Get-VMHost | Select-Object Name,@{N="Power Management Policy";E={$_.ExtensionData.Hardware.CpuPowerManagementInfo.CurrentPolicy}}
To make the script faster you can use the Get-View cmdlet:
Get-View -ViewType HostSystem -Property Name,Hardware.CpuPowerManagementInfo.CurrentPolicy | `Select-Object Name,@{N="Power Management Policy";E={$_.Hardware.CpuPowerManagementInfo.CurrentPolicy}}
Regards, Robert
Message was edited by: RvdNieuwendijk
Hi Robert,
Thats for the help but when i look at the property .powermanagementinfo.currentpolicy it is shwoing static.
I was specifically looking for the info in the JPG that shows me power management profile as high performance
Thanks
Dougie
Hi Dougie,
according to VMware KB article 1018206 "Poor virtual machine application performance may be caused by processor power management" the Power Management Policy value "Static" is specific to ESX/ESXi 4.0. In ESX/ESXi 4.1 and ESXi 5.0 this value is renamed to "High Performance". Both values disable power management.
You are probably running the script against an ESX/ESXi 4.0 server. That will give you the "Static" value.
It might be that the vCenter Server or the vSphere client this value translates into "High Performance"?
Regards, Robert
Hi Robert,
The ESX host was a 4.1 U1 host so maybe it is how the vSphere client interprets it.
I have had a good look but can't find where it gets the "High Performance" value from.
Thanks
Dougie