草庐IT

Unplanned

全部标签

windows - 通过 bat 文件重新启动 Windows 时如何给出原因

我正在使用bat文件重新启动我的Windows服务器。在重新启动服务器时它询问重新启动原因,我如何通过同一个批处理文件给出原因。我在bat文件中使用的命令是shutdown.exe-r-t00。 最佳答案 这是我使用的一个例子:shutdown-r/t5/du:0:0/c"BlahBlahProcessisrunningslow"/m\\MyServer/c允许您指定注释和/d允许你给出原因/d[p|u:]xx:yyProvidethereasonfortherestartorshutdown.pindicatesthatthere