How to perform the same task as wget using Windows 10 and Powershell 5.0.

The Windows 10 Powershell command prompt has a cmdlet named Invoke-WebRequest, this allows a user to download a link using Powershell. This will download a web link with a very fast transfer rate. Making this a very good way to retrieve a web link. Below is an example downloading a link from I am using the wget alias as it is easier to remember.

wget -OutFile Desktop\uemacs.tar.gz

This will download the linked file from with a fast transfer rate.

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.

PS C:\Users\Homer> wget -OutFile Desktop\uemacs.tar.gz
PS C:\Users\Homer> cd .\Desktop
PS C:\Users\Homer\Desktop> dir

    Directory: C:\Users\Homer\Desktop

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       27/10/2014  12:54 PM         209681 uemacs.tar.gz

This is a great way to get a file from a website using Powershell. I am using Powershell 5.0 on Windows 10 build 9860 and it works a treat.

No comments have been made. Use this form to start the conversation :)

Leave a Reply