I can fetch the Tag's key-value pair of a instance using powershell.
I have an object, $instance
and $instance.Tags
yields the following list:
Key Value --- ----- abc cde mnp mju
How can I retrieve the value of any specific key?
You can access by filtering on the key
:
$instance.Tags | ? { $_.key -eq "mnp" } | select -expand Value