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
VMware vSphere ESXi
VMware vSphere PowerCLI
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) |
static | High Performance |
dynamic | Balanced |
low | Low Power |
custom | Custom |
Validate Host Power Policy:
esxcli hardware power policy choices listesxcli hardware power policy get