Skip to content

Commit

Permalink
Update Set-AzLoadBalancerInboundNatPoolConfig.md (#13068)
Browse files Browse the repository at this point in the history
Added PS C:\> $slb | Set-AzLoadBalancer to set LB under example one
  • Loading branch information
sbdoroff authored Sep 25, 2020
1 parent c488891 commit 08a319f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ The **Set-AzLoadBalancerInboundNatPoolConfig** cmdlet sets an inbound NAT pool c
PS C:\> $slb = Get-AzLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup"
PS C:\> $feIpConfig = Get-AzLoadBalancerFrontendIpConfig -Name "FrontendName" -LoadBalancer $slb
PS C:\> Set-AzLoadBalancerInboundNatPoolConfig -Name "myInboundNatPool" -LoadBalancer $slb -FrontendIpConfigurationId $inboundNatPoolConfig.FrontendIPConfiguration -Protocol TCP -FrontendPortRangeStart 2001 -FrontendPortRangeEnd 3000 -BackendPort 2001
PS C:\> $slb | Set-AzLoadBalancer
```

## PARAMETERS
Expand Down

0 comments on commit 08a319f

Please sign in to comment.