Question about output display

by ksonic at 2013-03-01 12:42:33

Hi PS guru,

I just start out using powershell and trying run some simple report. However, any output that have more than 5 object (select or select-object) will result as list format. I need them in column format. Please help!.

Examples and things that i have tried.

get-aduser -identity jsmith | select name,samaccountname,surname,sid,givenname

i have tried with fw - column and still the same thing.
by ArtB0514 at 2013-03-01 13:20:41
Instead of Select-Object, use either Format-Table or Out-GridView. Be sure to read Get-Help -Full (or -Online) for details on how to use them.