Created
August 12, 2018 16:11
-
-
Save ignitz/198fb9f2b3a7ce71c7c208797c8c0ad7 to your computer and use it in GitHub Desktop.
Turn off Screen on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powershell (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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment