Skip to content

Instantly share code, notes, and snippets.

@hu3rror
Created January 14, 2022 05:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hu3rror/8a9d88215251df83e66dab6360a8a0ff to your computer and use it in GitHub Desktop.
Save hu3rror/8a9d88215251df83e66dab6360a8a0ff to your computer and use it in GitHub Desktop.
Make the monitor go black but keep running
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment