Skip to content

Instantly share code, notes, and snippets.

@nweddle
Created January 15, 2017 08:28
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 nweddle/d1d156ef627e78709d7b916dbb355980 to your computer and use it in GitHub Desktop.
Save nweddle/d1d156ef627e78709d7b916dbb355980 to your computer and use it in GitHub Desktop.
PowerShell Download Script
$url = "https://github.com/sabnzbd/sabnzbd/releases/download/1.2.0/SABnzbd-1.2.0-win32-setup.exe"
$dest = ([Environment]::GetFolderPath("Desktop") + "\SABnzbd-1.2.0-win32-setup.exe")
$client = new-object System.Net.WebClient
$client.DownloadFile($url,$dest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment