PowerShell: Download Webpage, curl, wget

By Xah Lee. Date: . Last updated: .

Here's how to download a webpage.

Invoke-WebRequest

# get a website content, save it as xx.html
Invoke-WebRequest "google.com" -outfile xx.html

curl

Windows 10 has curl builtin, at C:/Windows/system32/curl.exe

PowerShell: archive file, compression