for ($i = 0; $i -lt 6; $i++) { "{0}`t{1}`t{2}`t{3}`t{4}`t{5}" -f (0..5 | ForEach-Object {$array2d[$i,$_]}) }