We have already commented on the tremendous virtues that offers Windows users the new version 10. With the return of old features removed in Windows 8 as it was the start menu or the incorporation of new tools. It’s why you want to display in the following tutorial how to download a file from the Internet from PowerShell in Windows 10.
PowerShell, is something like the system replacement symbol , as it has qualities far superior that allows the management of different tasks in the system. It works similarly to the prompt, as it allows you to enter commands, but its scope is wider and we’ll show you how to download a file from the Internet from PowerShell in Windows 10.
To make configuration changes via PowerShell, you must know the appropriate commands for each particular task. The same thing when you want to Enable or disable a feature , you must know the steps to do so. And with PowerShell you can see the programs installed on a local or remote computer .
How to download a file from the Internet from PowerShell in Windows 10
Windows 10 on your plate – as you have valid claimed with its millions of users that were a little disappointed with the version of Windows 8. and one of these new features is the PowerShell console, which, through specific orders can perform a particular task.
Using PowerShell is so simple that we only need a simple command that will write directly on your window. This command will be able to to download a file from the Internet and we will show you what steps you need to take to make this simple and quick operation is done well.
The first step is to go to the taskbar and write in the search box of Windows 10, PowerShell. This action will generate as we open the console PowerShell, so you must ensure that you have permission as an administrator. To do this, you select only the mouse cursor over the application and right-click and choose Run as administrator option.
We should open a blue window, copy the link here to download the file you wish we did previously. What I will stick writing follows this syntax: $ client = new-object System.Net.WebClient – $ client.DownloadFile ( “Download Link”, “destination file fichero. Extension name”)
We need to change “Download Link” with the URL that contains the address of the file and copied earlier. And in “the name of the destination file fichero.extensión” you have to put the path in which the file name you provide will be saved. As long URL, as in the download path must be maintained between quotation marks.
The next step is to press the Enter key, the action automatically and the file that you have chosen will, it will start downloading the game of skill. Now you just have to hope that the download is complete and look at the address you specified and thus verify that a successfully recorded.
How to download a file from the Internet to the PowerShell application credentials
You can download a file that you have requests for credentials you can have access to a particular server.
In these cases, we can use the following command: $ client = new-object System.Net.WebClient – $ client.Credentials = Get-Credential – $ client.DownloadFile ( “Enlace discharge” “destination file name fichero.extension”)
And these are simple commands that need to download a file from the Internet from PowerShell in Windows 10. Remember not to remove the quotation marks in the link or file to your discharge direction computer. So you can download a file using this powerful tool included in Windows 10.