Tsshutdn
Enables an administrator to remotely shut down or reboot a terminal server.
Syntax
tsshutdn [WaitTime] [/server:ServerName] [/reboot] [/powerdown] [/delay:LogOffDelay] [/v]
Parameters
WaitTime
After notifying users, specifies an amount of time (in seconds) to wait before logging off all users from their sessions. The default is 60 seconds.
/server:ServerName
Specifies the terminal server to shut down. If unspecified, the current terminal server is shut down.
/reboot
Reboots the terminal server after user sessions are ended.
/powerdown
Turns off the terminal server if the computer supports software control of AC power.
/delay:LogOffDelay
After logging off users from their sessions, specifies the amount of time to wait before ending all processes and shutting down the terminal server. The default is 30 seconds.
/v
Displays additional information.
/?
Displays help at the command prompt.
Remarks
You must have administrative credentials to run tsshutdn.
Examples
To shut down the computer named TerminalServer1, type:
tsshutdn /server:TerminalServer1
To reboot the computer named TerminalServer1, type:
tsshutdn /server:TerminalServer1 /reboot
|