News for hackers. Stuff that matters.
Re:PowerShell is open sourced and is available on Linux by useerup on Friday August 19, 2016 @10:25AM (#12320204)
> You can certainly print them, but there's no guarantee you'll get all its contents by default, and there's still the problem of how to create those objects from some other output, e.g. in a file.

That's what CliXML is for. Export-CliXml writes objects to a file. Import-CliXml reads them back.

Re:PowerShell is open sourced and is available on Linux by 0x6c6f6c on Friday August 19, 2016 @01:15PM (#12321614)
I think they're assuming the default view output is being used for Export-CliXML, when really it's serializing the object passed to it.