Change for iterations

client_ports
Christopher Truncer 2015-06-03 12:24:50 -04:00
parent c7ab708d38
commit 663d613a07
1 changed files with 4 additions and 2 deletions

View File

@ -188,8 +188,10 @@ function Invoke-EgressAssess
}
$sizedata = [math]::Round((($AllSSN.length) * 11/1MB), 2)
Write-Verbose "Uploading data of size $sizedata MB..."
$wc.UploadString($uri, $AllSSN)
$totalupload += $sizedata
1..$iterations | foreach-object {
$wc.UploadString($uri, $AllSSN)
$totalupload += $sizedata
}
Write-Verbose "Transaction Complete. $totalupload MB attempted to upload"
[System.GC]::Collect()
break