PowerShell - Error Handling
Identify the error in this script snippet:
try { Get-Item 'file.txt' } catch { Write-Host 'Error' } -ErrorAction Continuetry { Get-Item 'file.txt' } catch { Write-Host 'Error' } -ErrorAction Continue15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions