ErrorRecord Properties

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubpropertyCategoryInfo

Gets information about the category of the error.

System_CAPS_pubpropertyErrorDetails

Gets and sets more detailed error information, such as a replacement error message.

System_CAPS_pubpropertyException

Gets the exception that is associated with this error record.

System_CAPS_pubpropertyFullyQualifiedErrorId

Gets the fully qualified error identifier for this error record.

System_CAPS_pubpropertyInvocationInfo

Gets information about the command that was invoked when the error occurred.

System_CAPS_pubpropertyPipelineIterationInfo

Gets the status of the pipeline when this error record was created. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyScriptStackTrace

Gets the script stack trace for the error. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyTargetObject

Gets the object that was being processed when the error occurred.

Return to top

Community Additions

ADD
Show: