PowerTip: Use PowerShell to Create Two Column Output

PowerTip: Use PowerShell to Create Two Column Output

  • Comments 2
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment