Differences
This shows you the differences between the selected revisions of the page.
2016-09-29 | 2017-10-04 | ||
full -Format switch name (martin) | using variable expansion in strings in powershell (martin) | ||
Line 52: | Line 52: | ||
catch [Exception] | catch [Exception] | ||
{ | { | ||
- | Write-Host ("Error: {0}" -f $_.Exception.Message) | + | Write-Host "Error: $($_.Exception.Message)" |
exit 1 | exit 1 | ||
} | } |