Master PowerShell Errors with Try Catch Blocks

Mar 13, 2024
jeffbrown.tech Logo

jeffbrown.tech

Take your PowerShell script and function writing to the next level by managing your errors using try catch blocks! Read the article here: https://jeffbrown.tech/using-exception-messages-with-try-catch-in-powershell/ Chapters: 00:00 Introduction 00:11 Try Catch Syntax 01:48 Try Catch Example 02:55 Using -ErrorAction 04:13 Capturing Error Messages 06:07 Multiple Catch Blocks 08:30 Finding Exception Messages 11:26 Adding logic to Catch block 13:49 Summary


View Video Transcript
#Programming