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

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

   -BitsJob BitsJob[]
       The BITS transfer job(s) to suspend.
       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.

Suspend-BitsTransfer suspends (pauses) one or more BITS transfer jobs. If the transfer is already suspended, the cmdlet does nothing. Restart the BITS transfer job with Resume-BitsTransfer.


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

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

Suspend all the BITS transfer jobs on the computer:

PS C:\> $allJobs = Get-BitsTransfer -AllUsers
PS C:\> Suspend-BitsTransfer -BitsJob $allJobs

“Architecture is music in space, as it were a frozen music” ~ Friedrich Wilhelm Joseph von Schelling

Related PowerShell Cmdlets

Resume-BitsTransfer - Resume a suspended BITS transfer.
BITS PowerShell cmdlets

Copyright © 1999-2023
Some rights reserved