How to query all VMs in a subscription without Tags
I'd use this:
Get-AzureRMVM | Where-Object { $_.tags }
which is a easier to read\understand
edit: sorry, you need the reverse:
Get-AzureRMVM | Where-Object { $_.tags.count -eq 0 }
I'd use this:
Get-AzureRMVM | Where-Object { $_.tags }
which is a easier to read\understand
edit: sorry, you need the reverse:
Get-AzureRMVM | Where-Object { $_.tags.count -eq 0 }