Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Remove-BitsTransfer

Remove-BitsTransfer - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Remove-BitsTransfer

Short description
Cancels a Background Intelligent Transfer Service (BITS) transfer job.

Syntax


Description
The Remove-BitsTransfer cmdlet cancels a BITS transfer job. It deletes the underlying transfer job, removes any tempora
ry files from the client, and deletes the associated BitsJob object. 

When the Remove-BitsTransfer cmdlet cancels a transfer job, it deletes all the transfers. Consider a scenario is which 
you are transferring three files. One file is completely transferred, one file is pending, and one file is currently be
ing transferred. In this scenario, Remove-BitsTransfer cancels the whole transfer and deletes the underlying files. Any
 files that were already transferred will not be available after you use the Remove-BitsTransfer cmdlet to cancel the t
ransfer job. Optionally, you can use a Complete-BitsTransfer command to commit any files that are completely downloaded
 and to cancel the pending and current transfers. The transferred file  would not be deleted and would be available.