A little digging this morning brought me to a cmdlet that PowerShell automatically adds to the end of every pipeline Out-Default. I think if you are interested in how the formatting works you should reference the below link.
Out-Defaultdecides how to format and output the object stream. If the object stream is a stream of strings,Out-Defaultpipes these directly toOut-Hostwhich calls the appropriate APIs provided by the host. If the object stream does not contain strings,Out-Defaultinspects the object to determine what to do. First it looks at the object type and determines whether there is a registered view for this object type…