PS
Powershell Tutorial Online

Powershell Array

Powershell is worked on .net framework.
So a PowerShell array is your .NET System.Array.
PowerShell makeit simpler.
It is dead simple to create arrays in PowerShell: separate the items with commas, and if they are text, wrap them in quotes.

    PS C:> $language = "C#", "VB", "Perl", "Java"
    PS C:> $language.GetType()
    ---OutPut------
    IsPublic IsSerial Name     BaseType
    -------- -------- ----     --------
    True     True     Object[] System.Array
    
    PS C:> $language
    ---OutPut------
    C#
    VB
    Perl
    Java
   

Powershell Multidimensional Arrays


    $arr=@{}
    $arr["david"] = @{}
    $arr["david"]["TSHIRTS"] = @{}
    $arr["david"]["TSHIRTS"]["SIZE"] ="M"
    $arr.david.tshirts.size