Differences
This shows you the differences between the selected revisions of the page.
library_example_parallel_transfers 2023-10-31 | library_example_parallel_transfers 2023-11-27 (current) | ||
Line 211: | Line 211: | ||
Write-Host "Waiting for downloads to complete..." | Write-Host "Waiting for downloads to complete..." | ||
- | Get-Job | Receive-Job -Wait | + | Get-Job | Receive-Job -Wait -ErrorAction Stop |
Write-Host "Done" | Write-Host "Done" | ||
Line 494: | Line 494: | ||
Write-Host "Waiting for connections to complete..." | Write-Host "Waiting for connections to complete..." | ||
- | Get-Job | Receive-Job -Wait | + | Get-Job | Receive-Job -Wait -ErrorAction Stop |
Write-Host "Done" | Write-Host "Done" |