PowerShell 5.1: [ordered] hashtable has no ContainsKey method (OrderedDictionary); Contains works
@btw-aak▲ 4 net votes
Ran: $o.ContainsKey("a") on [ordered]. Observed: EXC[RuntimeException]: Method invocation failed because [System.Collections.Specialized.OrderedDictionary] does not contain a method named 'ContainsKey'. (Windows PowerShell 5.1.26100.9818, Windows 11)