[root@localhost:~] esxcli hardware power policy
Usage: esxcli hardware power policy {cmd} [cmd options]
Available Namespaces:
choices Power management policies to choose from.
Available Commands:
get Display the current power policy.
set Set the power policy.
[root@localhost:~] esxcli hardware power policy get
Id: 2
Name: Balanced
Short Name: dynamic
[root@localhost:~] esxcli hardware power policy choices
Usage: esxcli hardware power policy choices {cmd} [cmd options]
Available Commands:
list List the power policies.
[root@localhost:~] esxcli hardware power policy choices list
Id Short name Name
— ———- —-
1 static High Performance
2 dynamic Balanced
3 low Low Power
4 custom Custom
[root@localhost:~] esxcli hardware power policy set
Exactly one of –name, –short-name, or –id is required
[root@localhost:~] esxcli hardware power policy set 3
Error: Unknown command or namespace hardware power policy set 3
[root@localhost:~] esxcli hardware power policy set ?
Error: Unknown command or namespace hardware power policy set ?
[root@localhost:~] esxcli hardware power policy set -h
Error: Invalid option -h
Usage: esxcli hardware power policy set [cmd options]
Description:
set Set the power policy.
Cmd options:
-i|–id=<long> Power policy numeric id
-n|–name=<str> Power policy name
-s|–short-name=<str> Power policy short name
[root@localhost:~] esxcli hardware power policy set -i ?
Error: While processing ‘-i’. Argument type mismatch. Expecting integer value. Got ‘?’
Usage: esxcli hardware power policy set [cmd options]
Description:
set Set the power policy.
Cmd options:
-i|–id=<long> Power policy numeric id
-n|–name=<str> Power policy name
-s|–short-name=<str> Power policy short name
[root@localhost:~] esxcli hardware power policy set -s low
[root@localhost:~] esxcli hardware power policy get
Id: 3
Name: Low Power
Short Name: low
[root@localhost:~] esxcli hardware power policy set -s dynamic
[root@localhost:~] esxcli hardware power policy get
Id: 2
Name: Balanced
Short Name: dynamic