On the Start menu, open an application named: Windows PowerShell.
Create a directory to store the downloaded file.
Use the following command to download a file using the PowerShell command-line.
In our example, we downloaded the official Firefox installer.
In our example, we saved the Firefox installer inside the directory: C:\tmp.
In our example, we saved the Firefox installer using the name FirefoxInstaller.exe.
Keep in mind that you need to change the URL and file name.
Access the directory and verify if the file was downloaded correctly.
Here is the command output:
Congratulations! You are able to download files using the Powershell command-line.
If you have the latest version of Powershell installed, you may use the following command.
This command is easier to type.