Okay, turns out this is dead simple. Don't know why I didn't try it sooner, but I piped one of these KeyValuePair objects into Format-List
, and got the following output:
Key : Server1 Value : 1
So, it's as simple as addressing the object's Key parameter to find that value in my script.