@echo off
echo start to close the server
set server=10.0.0.10
net use \%server%ipc$ mima /u:"administrator"
shutdown -r -m \%server% -t 30 -c
exit
可将以上内容存为bat文件
转载于:https://www.cnblogs.com/pyblogs/p/3491497.html
最后
以上就是怕孤独白开水最近收集整理的关于利用Dos命令,远程重启服务器的全部内容,更多相关利用Dos命令内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复