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

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'