Key verification in an ordered hashtable

How Can We Help?
< Back
You are here:
Print

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