Answers for "download file from internet on powershell"

C
4

how to download file in powershell

$url = "http://mirror.internode.on.net/pub/test/10meg.test"
$output = "$PSScriptRoot10meg.test"

Invoke-WebRequest -Uri $url -OutFile $output
Posted by: Guest on May-12-2020
2

powershell download a file from url

$Link = "https://www.7-zip.org/a/7z1900-x64.msi"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("$Link","$env:USERPROFILEDownloads7zip1900.msi");
Posted by: Guest on March-22-2020

Code answers related to "download file from internet on powershell"

Code answers related to "C"

Browse Popular Code Answers by Language