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

nmap - The Network Mapper

WARNING : It is ILLEGAL to scan hosts without permission.

GitHub CLI

GitHub CLI brings GitHub to your terminal. Free and open source. Official website: https://cli.github.com

Microsoft Windows Server 2003 R2 Enterprise Edition VHD

Windows Server 2003 R2 Enterprise Edition with Service Pack 2 This download comes as a pre-configured VHD and helps you evaluate the new features of Windows Server 2003 R2, the most productive infrastructure platform for powering connected applications, networks, and Web services from the workgroup to the data center. https://www.microsoft.com/en-us/download/details.aspx?id=19727 Username: Administrator Password: Evaluation1