2.2.2.26 INFORMATION_RECORD Message

The Data field of a PSRP message SHOULD<1> specify an INFORMATION_RECORD message when the MessageType field has a value of 0x00041011. This message is not supported for protocol versions 2.0, 2.1, and 2.2.

In messages of this type, the Data field is UTF-8 encoded XML, equivalent to the XML created by serializing the progress record (see section 2.2.5.1.26).

Example:

    <Obj RefId="0">
      <TN RefId="0">
        <T>System.Management.Automation.InformationRecord</T>
        <T>System.Object</T>
      </TN>
      <ToString>Information Data</ToString>
      <Props>
        <S N="MessageData">Information Data</S>
        <S N="Source">Write-Information</S>
        <DT N="TimeGenerated">2015-03-09T11:00:06.7899543-07:00</DT>
        <Obj N="Tags" RefId="1">
          <TN RefId="1">
            <T>System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T>
            <T>System.Object</T>
          </TN>
          <LST />
        </Obj>
        <S N="User">DOMAIN\UserName</S>
        <S N="Computer">ComputerFQID</S>
        <U32 N="ProcessId">64332</U32>
        <U32 N="NativeThreadId">21456</U32>
        <U32 N="ManagedThreadId">7</U32>
      </Props>
      <MS>
        <B N="WriteInformationStream">true</B>
      </MS>
    </Obj>