Created
March 23, 2018 01:42
-
-
Save AlainODea/539f0123b7f862a057b27b528f7dfc79 to your computer and use it in GitHub Desktop.
Run Unsigned PowerShell (human in the loop)
This file contains hidden or 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
$Script = [System.IO.Path]::GetTempFileName() | |
(New-Object System.Net.WebClient).DownloadFile("https://path/to/your/script.ps1", $Script) | |
Get-Content $Script | clip.exe | |
# right click to run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment