SYNOPSIS
shutdown
[
shutdown
DESCRIPTION
The shutdown utility schedules the shutdown of a local or remote system at (or after) a specified time and warns all users logged into that system of the upcoming shutdown. You must have administrator privileges on the system being shut down to use this utility.
The time argument indicates when to shut the system down and can be one of the following:
- now
-
shuts down the system immediately.
- +number
-
shuts down the system in number seconds.
- [[[[CC]YY]MM]DD]hhmm[.ss]
-
shuts down the system at the specified date and time.
Any additional arguments following time comprise an additional warning-message that is broadcast to all users along with the warning of the upcoming shutdown.
Options
-c cancels a system shutdown scheduled by an earlier shutdown command.
-h shuts down the system with no restart. This is the default behavior if the
-h or-r option is not specified.-q does not prompt the user to save when shutting down user programs.
-r restarts system immediately after it is shut down.
-S hostnameshuts down the remote computer named hostname. If this option is not specified, the local system is shut down.
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
Windows NT 4.0. Windows 2000. Windows XP. Windows Server 2003.
AVAILABILITY
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Commands:
- halt
MKS Toolkit 9.3 Documentation Build 6.