windows电脑命令行关机重启

1、关机

shutdown -s -t 10  #10秒后关机

at 23:00 shutdown -s  #23点自动关机

shutdown -a #取消自动关机计划

2、重启

shutdown -r -t 10 #10秒后重启

3、注销

shutdown -l -t 10 #10秒后注销

原文地址:https://www.cnblogs.com/wzl0916/p/12983549.html