TsshUTDN
(tsshutdn)
在控制方式下关闭服务器。
TSSHUTDN [wait_time] [/SERVER:servername] [/REBOOT] [/POWERDOWN]
[/DELAY:logoffdelay] [/V]
wait_time 结束所有用户会话前用户通知后等待的秒数(默认值是 60)。
/SERVER:servername 要关闭的服务器(默认值是当前值)。
/REBOOT 用户会话终止后重新启动服务器。
/POWERDOWN 服务器准备关闭。
/DELAY:logoffdelay 注销所有连接的会话后要等待的秒数(默认值是 30)。
/V 显示有关正在执行的操作的信息。
Shut down a server in a controlled manner.
TSSHUTDN [wait_time] [/SERVER:servername] [/REBOOT] [/POWERDOWN]
[/DELAY:logoffdelay] [/V]
wait_time Seconds to wait after user notification before terminating all user sessions (default is 60).
/SERVER:servername The server to shut down (default is current).
/REBOOT Reboot the server after user sessions are terminated.
/POWERDOWN The server will prepare for powering off.
/DELAY:logoffdelay Seconds to wait after logging off all connected sessions (default is 30).
/V Display information about actions being performed.