Skip to content

Commit a3a89cd

Browse files
committed
Corrected nat rules command
1 parent fd2bf50 commit a3a89cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/load-balancer/quickstart-create-standard-load-balancer-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ $rule = New-AzLoadBalancerRuleConfig `
100100

101101
### Create the NAT rules
102102

103-
Create NAT rules with [Add-AzLoadBalancerRuleConfig](/powershell/module/az.network/new-azloadbalancerinboundnatruleconfig). The following example creates NAT rules named *myLoadBalancerRDP1* and *myLoadBalancerRDP2* to allow RDP connections to the back-end servers with port 4221 and 4222:
103+
Create NAT rules with [New-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/new-azloadbalancerinboundnatruleconfig). The following example creates NAT rules named *myLoadBalancerRDP1* and *myLoadBalancerRDP2* to allow RDP connections to the back-end servers with port 4221 and 4222:
104104

105105
```azurepowershell
106106
$natrule1 = New-AzLoadBalancerInboundNatRuleConfig `

0 commit comments

Comments
 (0)