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