dserodio
6/26/2015 - 10:56 PM

Download a remote URL using Powershell

Download a remote URL using Powershell

param(
    [String] $remoteUrl,
    [String] $localPath
)

$webClient = new-object System.Net.WebClient;
$webClient.DownloadFile($remoteUrl, $localPath);