WSUS

WSUS – Troubleshooting BITS with PowerShell

Import-Module BITSTransfer

get-help *bits*

Get-BitsTransfer -AllUsers

Get-BitsTransfer -AllUsers | select *

Get-BitsTransfer -AllUsers | select -ExpandProperty FileList

We can use PowerShell to help streamline this process so we don’t have to output to a log file and search for our 0 BytesTransferred.

Get-BitsTransfer -AllUsers | foreach {get-bitstransfer -jobid $_.jobid | select -ExpandProperty FileList | where {$_.BytesTransferred -eq 0} | select -first 1}

Leave a Reply

Your email address will not be published. Required fields are marked *