ConvertTo-HashTable.ps1 Part 2

by Nov 24, 2008

I wrote the previous blog in the middle of watching the video. The VERY next thing he did was to create 2 hashtables so my simple version of ConvertTo-HashTable.ps1 wouldn't work for that case. So I made a more sophisticated version:
# ConvertTo-hashTable.ps1 # Updated to create multiple hashtables param( [string] $key, $value ) Begin { $hashTables = @() foreach ($v in @($value)) { $hashTables … Read the full text.