How to Download a File Using Powershell

Sometimes you’re on a Windows Terminal and miss Linux’s curl for those quick-and-dirty single downloads. Windows Powershell has an equivalent command.

 Invoke-WebRequest https://myurl.com/myfile.txt -OutFile C:\temp\myfile.txt

References:
Use PowerShell to download a file with HTTP, HTTPS, and FTP