VMware Cloud Community
dcoz
Hot Shot
Hot Shot

find property

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

Tags (1)
Reply
0 Kudos
4 Replies
RvdNieuwendijk
Leadership
Leadership

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

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
Reply
0 Kudos
dcoz
Hot Shot
Hot Shot

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

Reply
0 Kudos
RvdNieuwendijk
Leadership
Leadership

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

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
Reply
0 Kudos
dcoz
Hot Shot
Hot Shot

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

Reply
0 Kudos