Displaying Contents and Structure of an array
PS C:\> $a = 1,2,3
PS C:\> $b = 4,5,6
PS C:\> $c = $a,$b
PS C:\> $c
1
2
3
4
5
6
$c
is not an array of numbers, it's an array of arrays. But when I display its contents, this structure is not visible.
Is there any built-in way to display the contents of an array such that the structure is preserved? Perhaps something like this:
@( @(1, 2, 3), @(4, 5, 6) )