PowerShell - Error Handling
What will be the output of this PowerShell snippet?
try {
Get-Item 'C:\nonexistentfile.txt'
} catch {
Add-Content error.log "$(Get-Date): File not found error"
'Error logged'
}