Suspend a Background Intelligent Transfer Service (BITS) transfer job.
Syntax Suspend-BitsTransfer [-BitsJob] BitsJob [-Confirm] [-WhatIf] [CommonParameters] Key -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. -Confirm Prompt for confirmation before executing the command. -WhatIf 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
Resume-BitsTransfer - Resume a suspended BITS transfer.
BITS PowerShell cmdlets