PowerShell - Error Handling
What will this PowerShell script output?
try {
throw 'Oops'
} finally {
Write-Output 'Cleanup done'
}try {
throw 'Oops'
} finally {
Write-Output 'Cleanup done'
}throw raises an error, so the script will terminate unless caught.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions