Differences
This shows you the differences between the selected revisions of the page.
2017-10-03 | 2017-10-04 | ||
using variable expansion in strings in powershell (martin) | label error message (martin) | ||
Line 135: | Line 135: | ||
catch [Exception] | catch [Exception] | ||
{ | { | ||
- | Write-Host $_.Exception.Message | + | Write-Host "Error: $($_.Exception.Message)" |
$result = 1 | $result = 1 | ||
} | } |