Differences
This shows you the differences between the selected revisions of the page.
| 2017-10-03 | 2017-10-03 | ||
| using variable expansion in strings in powershell (martin) | expand syntax (martin) | ||
| Line 271: | Line 271: | ||
| catch [Exception] | catch [Exception] | ||
| { | { | ||
| - | Write-Host "Error: ${$_.Exception.Message}" | + | Write-Host "Error: $($_.Exception.Message)" |
| exit 1 | exit 1 | ||
| } | } | ||