Managed Reference for BITS PowerShell Commands

Background Intelligent Transfer Service (BITS) 4.0 can use Windows PowerShell cmdlets to manage transfer jobs.

Windows PowerShell cmdlets for BITS provide much of the same functionality as the bitsadmin command-line utility. However, Windows PowerShell also does the following:

  • Automates BITS tasks in an extensible and management-oriented scripting language.
  • Provides a single tool for all job-related tasks.

Note

To use these commands, you must first import the BITS PowerShell module, using the Import-Module Bits Transfer command. For more information, see the following TechNet article.

For more information on using Windows Powershell, see Windows PowerShell.

BITS PowerShell Classes

Namespace: Microsoft.BackgroundIntelligentTransfer.Management

Assembly: System.Management.Automation

These BITS command classes are implemented by Windows PowerShell. These classes are included in this software development kit (SDK) for completeness only. The members of these classes cannot be used directly, nor should they be used to derive other classes.

Class Description
AddBitsFileCommand Adds one or more files to an existing BITS transfer job.
See the Add-BitsFile cmdlet for detailed information about the parameters and for examples.
ClearBitsTransferCommand Cancels a BITS transfer job.
See the Clear-BitsTransfer cmdlet for detailed information about the parameters and for examples.
CompleteBitsTransferCommand Completes a BITS transfer job.
See the Complete-BitsTransfer cmdlet for detailed information about the parameters and for examples.
GetBitsTransferCommand Retrieves the associated BitsJob object for an existing BITS transfer job.
See the Get-BitsTransfer cmdlet for detailed information about the parameters and for examples.
NewBitsTransferCommand Creates a new BITS transfer job.
See the New-BitsTransfer cmdlet for detailed information about the parameters and for examples.
ResumeBitsTransferCommand Resumes a BITS transfer job.
See the Resume-BitsTransfer cmdlet for detailed information about the parameters and for examples.
SetBitsTransferCommand Modifies the properties of an existing BITS transfer job.
See the Set-BitsTransfer cmdlet for detailed information about the parameters and for examples.
SuspendBitsTransferCommand Suspends a BITS transfer job.
See the Suspend-BitsTransfer cmdlet for detailed information about the parameters and for examples.