PSObject Event
Fires when a new object is parsed on the server output.
Syntax
psclient.on('PSObject', [callback])
Callback
The 'callback' is called when the 'PSObject' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.baseType e.value
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).