PSObject Event
Fires when a new object is parsed on the server output.
Syntax
type TPSObjectEvent = procedure PSObject(Sender: TObject; const BaseType: String; const Value: String) of object;property OnPSObject: TPSObjectEvent read FOnPSObject write FOnPSObject;
Remarks
The PSObject event is fired whenever a PowerShell object is parsed completely from the pipeline output returned by the server.
BaseType contains the primary base type of the output object and Value will contain the string representation of the object value for simple types (like a string or a number).