To download a file in Powershell you can use the following snippet.
Sample Powershell
(New-Object System.Net.WebClient).DownloadFile('http://download.tuxfamily.org/notepadplus/6.6.6/npp.6.6.6.Installer.exe', 'C:\Users\MF\Codesnippets\Desktop\Download\npp.6.6.6.Installer.exe')
RT @CodeSnippetsNET: How to download a file in #Powershell http://t.co/oSQMTjhAQW #programming #code #dev #coding