Key verification in an ordered hashtable

< 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

Next Read JIT group memberships
Table of Contents