| @@ -0,0 +1,2 @@ | |||
| 1 | + | # turns off monitors without sleeping | |
| 2 | + | Start-Sleep 1; (Add-Type '[DllImport("user32.dll")]public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2) | |
vita / PowerShell turn off monitors
Last active 6 days ago
vita revised this gist 6 days ago · 1219d90
1 file changed, 2 insertions