Differences
This shows you the differences between the selected revisions of the page.
| 2017-10-03 | 2017-10-03 | ||
| escape : (martin) | mistake (martin) | ||
| Line 99: | Line 99: | ||
| # Handle errors when enumerating the files | # Handle errors when enumerating the files | ||
| $session.add_Failed( { | $session.add_Failed( { | ||
| - | Write-Host "Error: $($_.Exception.Message)" | + | Write-Host "Error: $($_.Error.Message)" |
| } ) | } ) | ||