vita / PowerShell turn off monitors

Last active 6 days ago

Like 0
turn-off-monitors.ps1 Raw
1# turns off monitors without sleeping
2Start-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)