Skip to main content

Powershell: Use Invoke-WebRequest to Download File

Let's try using Powershell Invoke-WebRequest to download nginx version 1.52.2 and save as nginx.zip in the current folder.

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

iwr, curl, and wget are alias of Invoke-WebRequest.

Popular posts from this blog

Microsoft Excel: Notes

Notes of Microsoft Excel tips used in real life situations.

Docker: Commonly Used Commands

Repeat to remember Remember to repeat

Microsoft 365 Family: Notes

Try Microsoft 365 Family free for 1 month . After free 1 month trial, $99.99/year or $9.9/month for up to 6 persons.