Yeah, you kinda can't. That's because the job results are serialized and then deserialized, and in the process what PowerShell constructs isn't the same kind of thing. It's no longer a "live" object, so to speak. It's been translated to XML and back. Sorta.
If your goal is to use some of the data in the object's properties, you'd need to do so directly by accessing those properties.
The topic ‘Receive-Job alters object type / name’ is closed to new replies.