Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

How to find a Free IP Address under ARM using PSH?

$
0
0

Hey All,

While creating an ILB here's the code that I'm using

$VnSN = Get-AzureRmVirtualNetwork | where {$_.name -eq "SQLSrvNET"} | get-AzureRmVirtualNetworkSubnetConfig

$frIP = New-AzureRmLoadBalancerFrontendIpConfig -Name LBFE -PrivateIpAddress a.b.c.d -SubnetId $VnSN[0].Id

New-AzureRmLoadBalancer -Name PSHILB -ResourceGroupName ARGmultiAO -Location "Central US" -FrontendIpConfiguration $frIP

My intention is to identify & provide an IP address in Line[2].

Any help on that?


yup


Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>