Skip to main content

power command

This command describes how to control the server power.

Use the power command to control the server power. To issue power commands, you must have the Remote Server Power/Restart Access authority level.

Syntax:
power on [-options]
power off [-options]
power cycle [-options]
power uefi
power state

Table 1. power commands
CommandDescription
power onUse this command to turn on the server power.
power offUse this command to turn off the server power.
power cycleUse this command to turn off the server power and then turn on the server power.
power uefiUse this command to boot into UEFI's F1 setup.
power stateUse this command to display the server power state and the current state of the server.
Table 2. power options
OptionDescriptionValues
-sUse this option to shut down the operating system before the server is turned off.
Note
The -s option is implied when using the -every option for the power off and power cycle commands.
 
-everyUse this option with the power on, power off, and power cycle commands to control the server power. You can set up the dates, times, and frequency (daily or weekly) to power on, power off, or power cycle your server.Sun, Mon, Tue, Wed, Thu, Fri, Sat, Day, clear
-tUse this option to specify the time in hours and minutes to power on the server, shut down the operating system, and power off or restart the server.Use the following format: hh:mm
-dUse this option to specify the date to power on the sever. This is an additional option for the power on command.
Note
The -d and -every options, cannot be used together on the same command.
Use the following format: mm/dd/yyyy
-clearUse this option to clear the scheduled power on date. This is an additional option for the power on command. 

The following information are examples of the power command.

To shut down the operating system and power off the server every Sunday at 1:30, enter the following command:

system> power off -every Sun -t 01:30

To shut down the operating system and restart the server every day at 1:30, enter the following command:

system> power cycle -every Day -t 01:30

To power on the server every Monday at 1:30, enter the following command:

system> power on -every Mon -t 13:00

To power on the server on Dec 31 2013 at 11:30 PM, enter the following command:

system> power on -d 12/31/2013 -t 23:30

To clear a weekly power cycle, enter the following command:

system> power cycle -every clear