invoke-webrequest download folder code example
Example: invoke-webrequest download file
$url = "http://mirror.internode.on.net/pub/test/10meg.test"
$output = "$PSScriptRoot\10meg.test"
Invoke-WebRequest -Uri $url -OutFile $output
$url = "http://mirror.internode.on.net/pub/test/10meg.test"
$output = "$PSScriptRoot\10meg.test"
Invoke-WebRequest -Uri $url -OutFile $output