software development, devops, and stuff
Tree lined path

Download a file from the web using PowerShell

The Invoke-WebRequest command in PowerShell is very powerful and can be used to do much more then downloading a file. Check out the Invoke-WebRequest documentation page to learn more.

Download a file from the web (http, https)

Invoke-WebRequest -Uri "" -OutFile "C:\Documents\myzipfile.zip"

The above command well download a file from the web (in this case a local ip address) and save if under your Documents folder.

Need to Extract a zip file?

Check out Expand-Archive in PowerShell