Key verification in an ordered hashtable

How Can We Help?
< Back
You are here:

An ordered hashtable does not have the .ContainsKey() method like the unordered one because it’s a different object type (OrderedDictionary vs. HashTable). But the same functionality can be easily achieved by using

$table.Keys -contains 'keystring'

KB STATUS: Current

Table of Contents