2.2.3.16 InformationalRecord (DebugRecord, WarningRecord or VerboseRecord)
InformationalRecord (that is, DebugRecord, WarningRecord or VerboseRecord) is a structure that contains additional information that a pipeline can output in addition to the regular data output.
This data type is a Complex Object (section 2.2.5.2) with the following extended properties (see section 2.2.5.2.9):
The message that a higher-layer pipeline or command wants to associate with the informational record.
Property name: InformationalRecord_Message
Property type: String (section 2.2.5.1.1)
Flag indicating whether or not other properties (section 2.2.3.15.1) listed below have been included in the object or not.
Property name: InformationalRecord_SerializeInvocationInfo
Property type: Boolean (section 2.2.5.1.3) value. When set to TRUE, indicates that InvocationInfo-specific extended properties (section 2.2.3.15.1) are present in the ErrorRecord.
The status, when this record was created, of the pipeline provided by the higher-layer. This SHOULD be set to the same value as InvocationInfo_PipelineIterationInfo (section 2.2.3.15.1). This property is present if and only if the SerializeExtendedInfo property is set to TRUE.
Property name: InformationalRecord_PipelineIterationInfo
Property type: List (section 2.2.5.2.6.3) of Signed Int (section 2.2.5.1.11) structures.
The Complex Object described in this section SHOULD include the following type names (section 2.2.5.2.3):
System.Management.Automation.InformationalRecord
System.Object
For a complete list of type names and for examples, see sections 2.2.2.22, 2.2.2.23, and 2.2.2.24.