Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dserodio
Created June 26, 2015 22:56
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 dserodio/e6785b4f2fbd8527aa46 to your computer and use it in GitHub Desktop.
Save dserodio/e6785b4f2fbd8527aa46 to your computer and use it in GitHub Desktop.
Download a remote URL using Powershell
param(
[String] $remoteUrl,
[String] $localPath
)
$webClient = new-object System.Net.WebClient;
$webClient.DownloadFile($remoteUrl, $localPath);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment