Handling Errors in PowerShell with Try-Catch-Finally

Handling Errors in PowerShell with Try-Catch-Finally

Trevor Sullivan via YouTube Direct link

Intro

1 of 7

1 of 7

Intro

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Handling Errors in PowerShell with Try-Catch-Finally

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Exploring Non-terminating Errors
  3. 3 Wrap Commands in Try..Catch
  4. 4 Force Errors to Become Terminating Errors
  5. 5 Handling Multiple Specific Error Types
  6. 6 PowerShell Finally Statement
  7. 7 The $PSItem Automatic Variable

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.