ConvertTo-HashTable.ps1 Part 2

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 More...

Read the complete post at http://blogs.msdn.com/powershell/archive/2008/11/23/convertto-hashtable-ps1-part-2.aspx


Posted Nov 23 2008, 01:29 PM by Windows PowerShell Blog
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.