PowerTip: See Number of Errors in PowerShell Session

Summary: Learn how to determine how many errors there are in the Windows PowerShell session.

Hey, Scripting Guy! Question How can I determine how many current errors there are in my Windows PowerShell session?

Hey, Scripting Guy! Answer Use the Count property from the Error object array:


Comments (0)

Skip to main content