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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -