If I run get-childitem | select-object * my output looks like this:
See how it shows some of the various properties that the versioninfo object contains with that nice indention? If I do the same thing with get-module I don’t see the same behavior, instead it puts them all on one line inside brackets that will be cutoff if there’s too many properties like here: http://i.imgur.com/E5IHWFJ.png
How can I make the other cmdlets and my own objects look as nice as get-childitem does?
submitted by /u/Thotaz
[link] [comments]
The post How do I “expand” objects the same way that get-childitem does? appeared first on How to Code .NET.