關機計算機:shutdown -s -t 00
重啟計算機:shutdown -r -t 00
注銷計算機:shutdown -l -t 00
鎖定計算機:rundll32.exe user32.dll,LockWorkStation
休眠計算機:rundll32.exe powrProf.dll,SetSuspendState
或者: shutdown /h
睡眠計算機:rundll32.exe powrprof.dll,SetSuspendState 0,1,0
還有一個好的鏈接在這裏。