News for hackers. Stuff that matters.
Re:PowerShell is open sourced and is available on Linux by userbinator on Thursday August 18, 2016 @11:44PM (#12317851)
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.

http://windowsitpro.com/powershell/powershell-objects-and-ou...

It could be said that, in some ways, unstructured streams are far more WYSIWYG, which can conceptually mean easier understanding and use.

Re:PowerShell is open sourced and is available on Linux by nightski on Friday August 19, 2016 @12:09AM (#12317927)
Or it can mean a lot harder to understand and use. With types you get all of the metadata that you might not even have if it was plain text. In addition, every application chooses it's own serialization format. In the end, the only programs that compose well are those that work on text, not structured data (i.e. grep, awk, sed, etc...)
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.