How do I Make columns in PSobject closer?
i'm using following code format below: $tobj = new-object psobject $tobj | add-member -name "server" -value $server -membertype noteproperty $tobj | add-member -name "scenario" -value $arraypwshell.scenario -membertype noteproperty $tobj | add-member -name "result" -value $arraypwshell.result -membertype noteproperty $tobj | add-member -name "error" -value $arraypwshell.error -membertype noteproperty $object += $tobj $object gets populated $tobj have above. what i'm wanting have happen have categories "server" "scenario" , on grouped closer together. when $object outputted screen, there lot of space between each column , of text gets cut off. how bring each column closer together? i know there way hash tables @{"value = xx, value=xx}. anyone know how make happen?? jctech1123, cheers try: $tobj | ft -auto default output format format-table. -autosize switch keep columns closer to