How do I reset all BITS jobs from PowerShell?

In Windows 7, the BITSAdmin command has been deprecated in favor of BITS PowerShell cmdlets. What is the PowerShell equivalent of the command bitsadmin /reset /allusers?


From the available cmdlets and the documentation of them as well as bitsadmin I'd say

Get-BitsTransfer -AllUsers | Remove-BitsTransfer

will do what you want.