PowerShell – Exception handling
PowerShell provides exception handling mechanism to enable to deal with the exceptions raised during the script execution. Known or expected errors, we commonly handle using Error handling mechanism; where mostly we use if statement to meet certain criteria and the change the flow of execution depends on the result of the conditional statement. Exceptional handling […]