Created
June 26, 2015 22:56
-
-
Save dserodio/e6785b4f2fbd8527aa46 to your computer and use it in GitHub Desktop.
Download a remote URL using Powershell
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
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