【Vegas原创】cmd远程操作服务器命令
1,查看远程登录用户
query session /server [IP]
or
query user /server [IP]
2,注销远程登录用户ID
logoff sessionid /server [sessionID]
or
logoff user /server [userID]
3,远程重启服务器
shutdown /r /f /m \[IP]
or
iisreset /reboot [IP]
4,远程重启IIS:
iisreset [IP]
喜欢请赞赏一下啦^_^