Skip to content

Commit dd2e94b

Browse files
authored
Update Set-AzNetworkSecurityRuleConfig.md (#14176)
1 parent ebfd682 commit dd2e94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Network/Network/help/Set-AzNetworkSecurityRuleConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PS C:\> Set-AzNetworkSecurityRuleConfig -Name "rdp-rule" -NetworkSecurityGroup $
4747

4848
The first command gets the network security group named NSG-FrontEnd, and then stores it in the variable $nsg.
4949
The second command uses the pipeline operator to pass the security group in $nsg to Get-AzNetworkSecurityRuleConfig, which gets the security rule configuration named rdp-rule.
50-
The third command changes the access configuration of rdp-rule to Deny.
50+
The third command changes the access configuration of rdp-rule to Deny. However, this overwrites the rule and only sets the parameters that are passed to the Set-AzNetworkSecurityRuleConfig function. NOTE: There is no way to change a single attribute
5151

5252
### Example 2
5353

0 commit comments

Comments
 (0)