Powershell – Download a file
Invoke-WebRequest
-Uri
https://example.com/files/myfile.exe -OutFile
$env:USERPROFILE\Downloads\
myfile.exe
Invoke-WebRequest
-Uri
https://example.com/files/myfile.exe -OutFile
$env:USERPROFILE\Downloads\
myfile.exe