Differences
This shows you the differences between the selected revisions of the page.
2015-10-15 | 2016-04-29 | ||
created (martin) | error: prefix (martin) | ||
Line 119: | Line 119: | ||
catch [Exception] | catch [Exception] | ||
{ | { | ||
- | Write-Host $_.Exception.Message | + | Write-Host ("Error: {0}" -f $_.Exception.Message) |
exit 1 | exit 1 | ||
} | } | ||
Line 149: | Line 149: | ||
catch [Exception] | catch [Exception] | ||
{ | { | ||
- | Write-Host $_.Exception.Message | + | Write-Host ("Error: {0}" -f $_.Exception.Message) |
exit 1 | exit 1 | ||
} | } |