Last active
November 17, 2023 09:53
-
-
Save martijnvanschie/5bd8f4e88f332960d2a26ad7d741b565 to your computer and use it in GitHub Desktop.
KQL query to select all Virtual Networks with a specific address prefix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources | |
| where tolower(type) == "microsoft.network/virtualnetworks" | |
| where properties.addressSpace.addressPrefixes has "10.192" | |
| project name, location, properties.addressSpace.addressPrefixes[0], properties.subnets | |
| order by name asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment