|
发表于 2022-6-27 21:29:17
|
显示全部楼层
关机 C:\Windows\System32\shutdown.exe -s -t 00
重启 C:\Windows\System32\shutdown.exe -r -t 00
睡眠 C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState
显示器待机 powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2) |
|