Skip to content

Instantly share code, notes, and snippets.

@wsmelton
Created January 4, 2019 02:23
Show Gist options
  • Save wsmelton/c8af001b6c888e5125013804139c1a8c to your computer and use it in GitHub Desktop.
Save wsmelton/c8af001b6c888e5125013804139c1a8c to your computer and use it in GitHub Desktop.
Two options for downloading somethingsomething.exe from the Internet
Start-BitsTransfer -Source "https://yourbusiness.you/somethingsomething.exe" -Output "C:\MyBusiness\SomethingSomething.exe" -Asynchronous
(New-Object System.Net.WebClient).DownloadFile("https://yourbusiness.you/somethingsomething.exe","C:\MyBusiness\SomethingSomething.exe")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment