PowerShell - Error Handling
How can you re-throw the caught error inside a catch block preserving the original error message in PowerShell?
$_ holds the current error object.throw $_ re-throws the caught error preserving its message and details.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions