Showing results for September 2015 - Page 6 of 12 - 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 wh...

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

PowerTip: Find Operating System Version and Installation Date with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find the operating system version and installation date.  How can I use Windows PowerShell to find the version of my Windows operating system, its installation date,            and the operating system architecture?  Use the Get-CimInstance cmdlet (GCIM is an ...

Scripting Guy!Windows PowerShellPowerTip
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 i...

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

PowerTip: Check What PowerShell Does When Error Occurs

Doctor Scripto
Doctor Scripto

Summary: See what Windows PowerShell will do when an error occurs.  How can I check the setting so I will know what Windows PowerShell will do if an error occurs?  Look for the value of the $ErrorActionPreference. By default, it is set to Continue, which means it will            attempt to execute t...

Scripting Guy!Windows PowerShellPowerTip
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 y...

Scripting Guy!Windows PowerShellscripting techniques