How to get the ip address range of subnet using azure powershell -
i ip address range (starting ip, ending ip) subnet in azure using powershell.
any great.
thanks, paul
you need dig through vnet xml config:
[xml]$vnetconfig = (get-azurevnetconfig).xmlconfiguration $vnetsites = $vnetconfig.networkconfiguration.virtualnetworkconfiguration.virtualnetworksites.virtualnetworksite foreach ($site in $vnetsites) { foreach ($subnet in $site.subnets) { $subnet.subnet } }
Comments
Post a Comment