Download files with PowerShell

Few days ago I made introduction to PsUrl - small PowerShell module to GET and POST stuff to Web. One of my intents was to resolve situation when there was no build it PowerShell way to download files. I was wrong. PowerShell has everything you need.

BitsTransfer

This is warper for BITS API available in Windows. And yes this module comes bundled with PowerShell 2.0

Import-Module BitsTransfer
Start-BitsTransfer http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe

This will download file and save it to dotNetFx40_Full_x86_x64.exe…

help about_bits_cmdlets

Happy downloading!

. .