Differences
This shows you the differences between the selected revisions of the page.
2017-10-31 | 2017-11-13 | ||
powershell anchor (martin) | removing unneeded exception type specification (martin) | ||
Line 242: | Line 242: | ||
Write-Host "Batch $no done" | Write-Host "Batch $no done" | ||
} | } | ||
- | catch [Exception] | + | catch |
{ | { | ||
Write-Host "Error: $($_.Exception.Message)" | Write-Host "Error: $($_.Exception.Message)" | ||
Line 272: | Line 272: | ||
exit 0 | exit 0 | ||
} | } | ||
- | catch [Exception] | + | catch |
{ | { | ||
Write-Host "Error: $($_.Exception.Message)" | Write-Host "Error: $($_.Exception.Message)" |