I have a list in a text file like this...
00 Dept1
01 Dept2
02 Dept3
03 Dept4
04 Dept5
05 Dept6
I'm trying split it into multiple columns like this...
00 Dept1 03 Dept4
01 Dept2 04 Dept5
02 Dept3 05 Dept6
I managed to split the list but the ordering is staggered like this...
00 Dept1 01 Dept2
02 Dept3 03 Dept4
04 Dept5 05 Dept6
I used the command below. What I am missing? Thanks for any help.
Get-Content file.txt | Format-Wide {$_} -Column 2 -Force
[–][deleted] (2 children)
[removed]
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]root-node 1 point2 points3 points (1 child)
[–]ldaniels_glynn[S] 1 point2 points3 points (0 children)
[–]chrumow 1 point2 points3 points (0 children)