I am trying to create a empty 3D array in PowerShell. I saw some examples online and I have used this line to create it.
$mulArr = @(@(),@(),@())
And I have added some values to this using the line below
$mulArr+= ('a',@('b','c'),'v')
When I checked the length of the array above using $mulArray.Length, it is showing as desired. But I am unable to access the array elements explicitly like below.
$mulArr[0,0,1]
This is not returning any value. Please help me understand where I am going wrong with this.