I have a multiple machines in Azure ResourceManager. those machine are tagged with version of application that is running on them.
How do find the machines by multiple tags?
My tags on VMS are for example: environment: development / production version: 1.0.1/1.2/1.5
I want to be able to fin all production virtual machines with specific tags
environment:production and version:1.0
Here is my powershell I tried:
Find-AzureRmResource -Tag @{ environment="production"; version = "1.5"}
the problem with this is, it respect only first tag, and therefore I get all virtual machines that are with the tag, but does not filter it on the version
)? - 4c74356b41