yeah. thanks.
works like a charm :)
I just modified the funtion a little so that I have everything in just one progressbar.
works like a charm :)
I just modified the funtion a little so that I have everything in just one progressbar.
function FileTransferProgress
{
param ($e)
Write-Progress `
-Id 0 -Activity "Downloading" -CurrentOperation ("$($e.FileName) - {0:P0}" -f $e.FileProgress) -Status ("{0:P0} complete at $($e.CPS) bps" -f $e.OverallProgress) `
-PercentComplete ($e.OverallProgress * 100)
}