Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
December 16, 2010
A. Windows Server 2008 R2 and Windows 7 introduced the BitsTransfer module, which is made up of several cmdlets to manage BITS traffic. See the example below to import the BitsTransfer module, list the available commands, then list all BITS transfers for all users.
PS C:> Import-Module BitsTransfer PS C:> Get-Command -Module BitsTransfer CommandType Name Definition ----------- ---- ---------- Cmdlet Add-BitsFile Add-BitsFile \[-BitsJob\] \[-Source\] Cmdlet Complete-BitsTransfer Complete-BitsTransfer \[-BitsJob\] \[-V... Cmdlet Get-BitsTransfer Get-BitsTransfer \[\[-Name\] \] \[-AllUsers... Cmdlet Remove-BitsTransfer Remove-BitsTransfer \[-BitsJob\] \[-Ver... Cmdlet Resume-BitsTransfer Resume-BitsTransfer \[-BitsJob\] \[-Asy... Cmdlet Set-BitsTransfer Set-BitsTransfer \[-BitsJob\] \[-Displa... Cmdlet Start-BitsTransfer Start-BitsTransfer \[-Source\] \[\[-Desti... Cmdlet Suspend-BitsTransfer Suspend-BitsTransfer \[-BitsJob\] \[-Ve... PS C:> Get-BitsTransfer -AllUsers JobId DisplayName TransferType JobState OwnerAccount ----- ----------- ------------ -------- ------------ d7baf9ce-5ed2-4af3-8... WU Client Download Download Suspended NT AUTHORITYSYSTEM ddd96793-b763-4980-9... WU Client Download Download Suspended NT AUTHORITYSYSTEM 56ee8411-b354-4a46-a... WU Client Download Download Suspended NT AUTHORITYSYSTEM
You May Also Like