Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

ConvertTo-OrderedDictionary

Summary: Learn about creating ordered dictionaries in Windows PowerShell 3.0. Hash tables are fabulous for storing data items that are associated with each other. The simple "key=value" format is easy to create and easy to search. The only problem is that the order of elements in the hash table is arbitrary. If you need to have ...