PowerTip: Use PowerShell to Create Two Column Output

Doctor Scripto

Summary: Create a two column output of data by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create output that has two columns?

Hey, Scripting Guy! Answer Use the Format-Wide cmdlet, and then use the –Column parameter to specify
           a number of columns, for example:

Get-Process | Format-Wide name -Column 2


Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon