Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Start-BitsTransfer

Start-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 »


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

Start-BitsTransfer [-Source] <string[]> [[-Destination] <string[]>] [-Asynchronous] [-Authentication <string>] [-Creden
tial <PSCredential>] [-Description <string>] [-DisplayName <string>] [-Priority <string>] [-ProxyAuthentication <string
>] [-ProxyBypass <string[]>] [-ProxyCredential <PSCredential>] [-ProxyList <Uri[]>] [-ProxyUsage <string>] [-RetryInter
val <int>] [-RetryTimeout <int>] [-Suspended] [-TransferType <string>] [-Confirm] [-WhatIf] [<CommonParameters>]

The Start-BitsTransfer cmdlet creates a new BITS transfer job to transfer one or more files between a client computer a
nd a server. The TransferType parameter specifies the direction of the transfer. By default, after the cmdlet begins th
e transfer, the command prompt is not available until the transfer is complete or until the transfer enters an error st
ate. If the state of the returned BitsJob object is Error, the error code and description are contained in the object a
nd can be used for analysis.

The Start-BitsTransfer cmdlet supports downloading multiple files from a server to a client computer, but it does not g
enerally support uploading multiple files from a client computer to a server. If you need to upload more than one file,
 you can use the Import-CSV cmdlet to pipe the output to the Add-BitsFile cmdlet to upload multiple files. Or, if you n
eed to upload more than one file, consider using a cabinet file (.cab) or a compressed file (.zip).