Mapping ESXi power state values returned by PowerCLI to vSphere Client settings
search cancel

Mapping ESXi power state values returned by PowerCLI to vSphere Client settings

book

Article ID: 423012

calendar_today

Updated On:

Products

VMware vSphere ESX 8.x

Issue/Introduction

What ESXi power management setting corresponds to the value returned by the following commandlet?


(Get-VMHost -Name "<ESXi host name>").ExtensionData.config.powersystemInfo.currentPolicy.shortname

Environment

VMware vSphere ESXi
VMware vSphere PowerCLI

Resolution

The following mapping shows how the PowerCLI 'powersystemInfo.currentPolicy.shortname' values correspond to the power management options shown in the vSphere Client:

'powersystemInfo.currentPolicy.shortname'' (PowerCLI)ESXi host setting (vSphere Client)
staticHigh Performance
dynamicBalanced
lowLow Power
customCustom 

 

Additional Information

Validate Host Power Policy:

    • Run the below commands to get the details of the current configuration on the ESXi host
    • Connect to the ESXi host through SSH using root credentials
      esxcli hardware power policy choices list
      esxcli hardware power policy get
       
    • Check the settings  Host > Configure > Advanced System Settings>power.CpuPolicy>High Performance
    • For more details about Power Management BIOS Settings Refer this document https://www.vmware.com/docs/vsphere-esxi-vcenter-server-80U3-performance-best-practices