Showing results for error handling - Scripting Blog [archived]

Sep 18, 2015
0
0

How to Use Try/Catch/Finally for Non-Terminating Errors

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell and Try/Catch/Finally for non-terminating errors.Microsoft Scripting Guy, Ed Wilson, is here. Today I want to present a video about using Windows PowerShell Try/Catch/Finally with non-terminating errors—that is, Windows PowerShell can progress past the errors ...

Scripting Guy!Windows PowerShellscripting techniques
Sep 17, 2015
0
0

Understanding Two Types of PowerShell Errors—The Video

Doctor Scripto
Doctor Scripto

Summary: In this video, Ed Wilson, Microsoft Scripting Guy, talks about two types of Windows PowerShell errors.Microsoft Scripting Guy, Ed Wilson, is here. Today I want to present a video I made about structured error handling, in specific, about terminating errors.Note  For more information, refer to Error Handling: Two Types of Errors.Here ...

Scripting Guy!Windows PowerShellscripting techniques
Sep 16, 2015
0
2

Understanding Non-Terminating Errors in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about understanding non-terminating errors in Windows PowerShell.  Hey, Scripting Guy! Yesterday in Error Handling: Two Types of Errors, you were talking about terminating errors and how you can use Try/Catch/Finally with those, but you did not really say what a non-terminating error is. Can ...

Scripting Guy!Windows PowerShellscripting techniques
Sep 15, 2015
0
0

Error Handling: Two Types of Errors

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about error handling and two types of errors.  Hey, Scripting Guy! I really don’t get it. Everyone tells me I need to use Try/Catch/Finally to catch errors, but it simply won’t work. I am not sure if there is a bug in Windows PowerShell, but I wish you guys would fix it because it ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 3, 2015
0
1

Catch PowerShell Errors Related to Reading the Registry

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Try, Catch, Finally blocks to catch Windows PowerShell errors related to reading the registry.  Hey, Scripting Guy! Yesterday you posted Update or Add Registry Key Value with PowerShell. Would it be easy to use Try, Catch, Finally blocks to know if I need to create the registry key...

Scripting Guy!Windows PowerShellscripting techniques