View current Power Management Policy
$vmhost = Get-VMHost -Name ESX01
$vmhostview = Get-View -ViewType Hostsystem -Filter @{"Name"=$($vmhost).Name} -Property ConfigManager.PowerSystem
$powerpolicy = Get-View $vmhostview.ConfigManager.PowerSystem
$powerpolicy | Select -ExpandProperty Info | Select -ExpandProperty CurrentPolicy
Key : 1
Name : PowerPolicy.static.name
ShortName : static
Description : PowerPolicy.static.description
DynamicType :
DynamicProperty :
| Key | ShortName | GUI Equivilent |
|---|---|---|
| 1 | static | High Performance |
| 2 | dynamic | Balanced |
| 3 | low | Low power |
| 4 | custom | Custom |

$vmhostview = Get-View -ViewType Hostsystem -Filter @{"Name"=$($vmhost).Name} -Property ConfigManager.PowerSystem
$powerpolicy = Get-View $vmhostview.ConfigManager.PowerSystem
#Configure
$powerpolicy.ConfigurePowerPolicy(1)
Environmental Information:
ESX 5.5