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.
power on [-options]
power off [-options]
power cycle [-options]
power uefi
power state
Command | Description |
---|---|
power on | Use this command to turn on the server power. |
power off | Use this command to turn off the server power. |
power cycle | Use this command to turn off the server power and then turn on the server power. |
power uefi | Use this command to boot into UEFI's F1 setup. |
power state | Use this command to display the server power state and the current state of the server. |
Option | Description | Values |
---|---|---|
-s | Use this option to shut down the operating system before the server is turned off. Note The | |
-every | Use 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 |
-t | Use 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 |
-d | Use this option to specify the date to power on the sever. This is an additional option for the power on command. Note The | Use the following format: mm/dd/yyyy |
-clear | Use 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 1:30
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