Complete a Background Intelligent Transfer Service (BITS) transfer job.

      Complete-BitsTransfer [-BitsJob] BitsJob[]
         [-Confirm] [-WhatIf] [CommonParameters]

   -BitsJob BitsJob[]
       The BITS transfer job(s) to complete.
       Pipe a value to this parameter from other cmdlets that return BitsJob objects, such as Get-BitsTransfer.

       Prompt for confirmation before executing the command.

       Describe what would happen if you executed the command, without actually executing the command.

Complete-BitsTransfer ends one or more BITS transfer jobs and then saves the files on the client computer. If an error occurs, the associated BitsJob object is written to the error pipeline.


Complete all the BITS transfer jobs that are owned by the current user:

PS C:\> Get-BitsTransfer | Complete-BitsTransfer

Complete all the BITS transfer jobs on the computer:

PS C:\> $myJob = Get-BitsTransfer -AllUsers
PS C:\> Complete-BitsTransfer -BitsJob $myJob

Complete the BITS transfer job called 'SS64':

PS C:\> Get-BitsTransfer -Name SS64 | Complete-BitsTransfer

“Writing is not like painting where you add. It is not what you put on the canvas that the reader sees. Writing is more like a sculpture where you remove, you eliminate in order to make the work visible. Even those pages you remove somehow remain” ~ Elie Wiesel (American Writer.)

Related PowerShell Cmdlets

Remove-BitsTransfer - Delete a BITS transfer.
BITS PowerShell cmdlets

Copyright © 1999-2023
Some rights reserved