Skip to content

Commit bac8b2c

Browse files
authored
Update Add-AzLoadBalancerInboundNatPoolConfig.md (#14231)
with out using the Set-AzLoadBalancer after line 42 the natpool config will not be updated to the LB and the example would be incomplete.
1 parent 106f2f8 commit bac8b2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Network/Network/help/Add-AzLoadBalancerInboundNatPoolConfig.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ The **Add-AzLoadBalancerInboundNatPoolConfig** cmdlet adds an inbound NAT pool t
4040
PS C:\> $slb = Get-AzLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup"
4141
PS C:\> $feIpConfig = Get-AzLoadBalancerFrontendIpConfig -Name "FrontendName" -Loadbalancer $slb
4242
PS C:\> $slb | Add-AzLoadBalancerInboundNatPoolConfig -Name "myInboundNatPool" -Protocol TCP -FrontendIPConfigurationId $feIpConfig.Id -FrontendPortRangeStart 1001 -FrontendPortRangeEnd 2000 -BackendPort 1001
43+
PS C:\> $lb | Set-AzLoadBalancer
4344
```
4445

4546
## PARAMETERS

0 commit comments

Comments
 (0)