Downloading a file with PowerShell

To download a file using PowerShell, run

Invoke-WebRequest -Uri URL_HERE -OutFile FILE_NAME_HERE

Example

Invoke-WebRequest -Uri http://nginx.org/download/nginx-1.17.10.zip -OutFile nginx-1.17.10.zip

See Windows

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *