PowerPack, PowerShell, Scripting
Leave a comment

BITS File Transfer Power Pack 1.0.0.10 released

I just made an updated release of BITS file transfer PowerPack. In this release, I re-organized the node tree and added a few new features.

Since the node tree is re-orgnized, you will see issues when performing auto update of this powerpack. Instead, you can remove the old version of this powerpack and import the update. Here are the changes to node tree

Node Tree
Node Tree

I have added List Active BITS Jobs – All users option to enable taking ownership of other user’s job. This is possible only if you have administrator previleges.

 
Start File transfer has been renamed to Start Web downloads and this option is meant only for starting web downloads. You will see an error if you try to perform local file transfers using this.
 
 
Import URL feature is a completely new feature. @Dmitry asked me about this here. Not just that, he also provided a starting point for that here.
This new option takes a web URL as input and gets back with all the “possible” downloads available on that web page. I say “possible” here because it is almost impossible to write a perfect script to get only “real” download URL from a web page. I have done enough coding to make sure I filterout unnecessary links that are not links to any files. I have also taken care of URL redirections. This is still a beta feature and will improve overtime. Do provide your feedback and report any issues you see while using this new feature.
 
Here is a list of web URLs I have used for my testing and it seemed working well with these URLs.
 
 
Other changes in this release include context-aware links / actions on the admin console sidebar. This basically means that the links/actions you see for different states of BITS job are not the same. Here is a list of links/actions for different BITS Job states.

JobState: Transferring
Links:
List files in the job, Show job Progress
Actions: Add file to a job, Suspend/Pause job(s), Delete Job(s), Change Transfer Priority

JobState: Suspended
Links:
List files in the job
Actions: Add File to a job, Resume Job(s), Delete Job(s), Change Transfer Priority

JobState: Error/Transient Error
Links:
List files in the job, Show Error
Actions: Add File to a job, Delete Job(s), Restart Job(s), Change Transfer Priority, Set Proxy Credentials

JobState: Transferred
Links:
List files in the job
Actions: Delete Job(s), Complete Transferred Job(s)

Apart from the above changes, there are quite a few new additional functions in the shared script. Check this new release and let me know your thoughts.

Filed under: PowerPack, PowerShell, Scripting

by

Ravikanth is a principal engineer and the lead architect for Microsoft and VMware virtualized and hybrid cloud solutions within the Infrastructure Solutions Group at Dell EMC. He is a multi-year recipient of Microsoft Most Valuable Professional (MVP) award in Windows PowerShell (CDM) and Microsoft Azure. Ravikanth is the author of Windows PowerShell Desired State Configuration Revealed (Apress) and leads Bangalore PowerShell and Bangalore IT Pro user groups. He can be seen speaking regularly at local user group events and conferences in India and abroad.