关机计算机:shutdown.exe -s -t 00
重启计算机:shutdown.exe -r -t 00
注销计算机:shutdown.exe -l -t 00
锁定计算机:rundll32.exe user32.dll,LockWorkStation
休眠计算机:rundll32.exe powrProf.dll,SetSuspendState
睡眠计算机:rundll32.exe powrprof.dll,SetSuspendState 0,1,0
原文地址:http://2042617.blog.51cto.com/2032617/1601820