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.

The following table contains a subset of commands that can be used with the power command.
Table 1. power command.

The following table is a multi-row three column table consisting of the power commands, command descriptions, and associated values for the commands.

CommandDescriptionValue
power onUse this command to turn on the server power.on, off
power offUse this command to turn off the server power.
Note
The -s option shuts down the operating system before the server is turned off.
on, off
power cycleUse this command to turn off the server power and then turn on the server power.
Note
The -s option shuts down the operating system before the server is turned off.
 
power enterS3Use this command to place the operating system into the S3 (sleep) mode.
Note
This command is used only when the operating system is on. The S3 mode is not supported on all servers.
 
power rpUse this option to specify the host power restore policy.alwayson|alwaysoff|restore
power S3resumeUse this command to wake up the operating system from the S3 (sleep) mode.
Note
This command is used only when the operating system is on. The S3 mode is not supported on all servers.
 
power stateUse this command to display the server power state and the current state of the server.on, off
The following table contains the options for the power on, power off, and power cycle commands.
Table 2. power command.

The following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the 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.
Note
The values for this option are presented on separate lines due to space limitations.

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. 
Syntax:
power on 
power off [-s]
power state
power cycle [-s]

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