Differences
This shows you the differences between the selected revisions of the page.
2016-11-21 | 2017-10-04 | ||
using ps> interwiki link (martin) | using variable expansion in strings in powershell (martin) | ||
Line 42: | Line 42: | ||
{ | { | ||
# In the first round, just print number of files found | # In the first round, just print number of files found | ||
- | Write-Host ("Found {0} files" -f $files.Count) | + | Write-Host "Found $($files.Count) files" |
} | } | ||
else | else | ||
Line 84: | Line 84: | ||
catch [Exception] | catch [Exception] | ||
{ | { | ||
- | Write-Host ("Error: {0}" -f $_.Exception.Message) | + | Write-Host "Error: $($_.Exception.Message)" |
exit 1 | exit 1 | ||
} | } |