Windows PowerShell Error Reporting
The topics in this section discuss how cmdlets report errors.
In This Section
Error Reporting Concepts Describes the two mechanisms that cmdlets can use to report errors.
Terminating Errors Describes the method used to report terminating errors, where that method can be called from within the cmdlet, and exceptions that can be returned by the Windows PowerShell runtime when the method is called.
Non-Terminating Errors Describes the method used to report non-terminating errors and where that method can be called from within the cmdlet.
Displaying Error Information by Category Discusses the ways that users can display error.
Windows PowerShell Error Records Describes the components of an error record.
Interpreting ErrorRecord Objects Discusses how ErrorRecord objects are interpreted.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for