Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Create Two Column Output

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles