Skip to content

Instantly share code, notes, and snippets.

@hack-r
Created April 10, 2023 13:56
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 hack-r/1b75d24e59032ff5328995766e849b4c to your computer and use it in GitHub Desktop.
Save hack-r/1b75d24e59032ff5328995766e849b4c to your computer and use it in GitHub Desktop.
& 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -ExecutionPolicy Bypass -Command "Add-Type -AssemblyName Microsoft.VisualBasic; [Microsoft.VisualBasic.Interaction]::AppActivate('Notepad'); [System.Windows.Forms.SendKeys]::SendWait('^c')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment