Iteracja po wielopoziomowych Hash'ach

25 March 2015

foreach($hash in $hashall.GetEnumerator()){

    write-host "$($hash.Name)"

        foreach ($property in $($hash.Value).GetEnumerator())

        {

            write-host "          $($property.Name)"

        }

}


Kategorie: Power Shell