Hello,
For a particular subscription that has many resources, i would like to filter output to check for all resources that match a certain type (either disk or network card), where the tagname for the resource is “operationalStatus” and it can have within its value (i.e sub string) the string “orphan:True”
I am not certain how to filer
I am new to powershell and not certain of the syntax, although the command:
get-azresource -tagname “operationalStatus” -Tagvalue “orphan:True”
is close to what I want. I would like to use -match for Tagvalue, but not certain of proper syntax. Is it possible to filter as described?
Thanks in advance,
Buddd