Downloading Files Silently in the Background

When using the additional cmdlets in the BitsTransfer module that comes with Windows 7 and Server 2008 R2, you can make downloads happen silently in the background so you do not need to wait for them. The next lines will download a tutorial video in the background.

Import-Module BitsTransfer
$url = 'http://www.idera.com/images/Tours/Videos/PowerShell-Plus-Learning-Center.wmv'
Start-BitsTransfer $url $home\video2.wmv -Asynchronous

You can use Get-BitsTransfer to check progress.

Twitter This Tip! ReTweet this Tip!


Posted Apr 13 2010, 08:00 AM by ps1

Comments

Twitter Trackbacks for Downloading Files in the Background with #PowerShell [powershell.com] on Topsy.com wrote Twitter Trackbacks for Downloading Files in the Background with #PowerShell [powershell.com] on Topsy.com
on 04-13-2010 10:39 AM

Pingback from  Twitter Trackbacks for                 Downloading Files in the Background with #PowerShell         [powershell.com]        on Topsy.com

Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.