How Do You Get the Name For A Specific Value In A Powershell Hash Table?

Question:

If I have a hash table like..

I can get the key for a value by doing:

How do I do the reverse? I want to put in something like, “mean” and get “dog” as the output? So if I only know “mean”, how do I get dog from that?

Answer:

Source:

How Do You Get the Name For A Specific Value In A Powershell Hash Table? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply