2.2.2.25 PROGRESS_RECORD Message

The Data field of a PSRP message specifies a PROGRESS_RECORD message when the MessageType field has a value of 0x00041010.

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.25).

Example:

 <Obj RefId="0">
   <MS>
     <S N="Activity">Activity Name</S>
     <I32 N="ActivityId">4</I32>
     <S N="StatusDescription">Good</S>
     <S N="CurrentOperation">Down loading</S>
     <I32 N="ParentActivityId">-1</I32>
     <I32 N="PercentComplete">20</I32>
     <Obj N="Type" RefId="1">
       <TN RefId="0">
         <T>System.Management.Automation.ProgressRecordType</T>
         <T>System.Enum</T>
         <T>System.ValueType</T>
         <T>System.Object</T>
       </TN>
       <ToString>Processing</ToString>
       <I32>0</I32>
     </Obj>
     <I32 N="SecondsRemaining">30</I32>
   </MS>
 </Obj>