Downloading Files with BitsTransfer in the Background

Downloading very large files can be a challenge because the download process can take longer than expected. With BitsTransfer (BITS), you can download files in the background, and even if the computer is turned off or rebooted, the download will resume after restart.

The example code below downloads Microsoft Exchange Server 2016. However, the download occurs in the background, and you can immediately continue. In fact, you can close PowerShell, or your computer altogether. When it restarts, the download resumes.

All you need to do is look after the BitsTransfer once in a while, and check which download jobs have completed. Once a download completes, it is your duty to complete the download. Only then will the downloaded file be copied from the background buffer to the final destination:

To get more information about pending BitsTransfer jobs, try this:

And if you have Admin privileges, you can even dump the jobs from other users, including internal accounts. This way you’ll see updates and other things that are on their way to you:

In this article I’ll show you how to download (large) files with BitTransfer. Even if the computer is turned off or rebooted, the download will resume after restart. Isn’t that cool or not 😉

I really like to hear what you have to say about this article:

  • Was this article helpful for you or do you have any questions?
  • Do you have additions, suggestions or any other ideas?
  • Just let me know by leaving a comment below.

Thank you for spending some time at my site and in my blog. I hope you come to visit again soon!

About Lex van der Horst 201 Articles
Techwire

Be the first to comment

Leave a Reply