Powershell 2.0: how to -match or -like a string in hash table keys
<p>For Powershell 2.0:</p>

<p>I have a hash table with several strings as keys. Unlike <code>@{}.containskey</code>, is it possible to find a key (e.g., <code>"examplekey"</code>) using wildcards (e.g., <code>"*xampl*"</code>)?</p>

<p>I managed to accomplish what I wanted making a list of the keys and using Where-Object as a filter. But is there a simpler way to do it? I think this method is specially bad when I'm adding new keys, because I need to recreate the list everytime. </p>