Skip to content

Commit d0cfbff

Browse files
authored
Broken link fixed
1 parent 27422f1 commit d0cfbff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/virtual-network-manager/how-to-block-network-traffic-powershell.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before you start configuring security rules, confirm the following steps:
2727

2828
## Create a SecurityAdmin configuration
2929

30-
1. Create a new SecurityAdmin configuration with [New-AzNetworkManagerSecurityAdminConfiguration](/powershell/module/az.network/new-aznetworkmanagersecurityadminconfiguration).
30+
1. Create a new SecurityAdmin configuration with New-AzNetworkManagerSecurityAdminConfiguration.
3131

3232
```azurepowershell-interactive
3333
$config = @{
@@ -38,7 +38,7 @@ Before you start configuring security rules, confirm the following steps:
3838
$securityconfig = New-AzNetworkManagerSecurityAdminConfiguration @config
3939
```
4040
41-
1. Store network group to a variable with [Get-AzNetworkManagerGroup](/powershell/module/az.network/get-aznetworkmanagergroup).
41+
1. Store network group to a variable with Get-AzNetworkManagerGroup.
4242
4343
```azurepowershell-interactive
4444
$ng = @{
@@ -49,7 +49,7 @@ Before you start configuring security rules, confirm the following steps:
4949
$networkgroup = Get-AzNetworkManagerGroup @ng
5050
```
5151
52-
1. Create a connectivity group item to add a network group to with [New-AzNetworkManagerSecurityGroupItem](/powershell/module/az.network/new-aznetworkmanagersecuritygroupitem).
52+
1. Create a connectivity group item to add a network group to with New-AzNetworkManagerSecurityGroupItem.
5353
5454
```azurepowershell-interactive
5555
$gi = @{
@@ -65,7 +65,7 @@ Before you start configuring security rules, confirm the following steps:
6565
$configGroup.Add($groupItem)
6666
```
6767
68-
1. Create a security admin rules collection with [New-AzNetworkManagerSecurityAdminRuleCollection](/powershell/module/az.network/new-aznetworkmanagersecurityadminrulecollection).
68+
1. Create a security admin rules collection with New-AzNetworkManagerSecurityAdminRuleCollection.
6969
7070
```azurepowershell-interactive
7171
$collection = @{
@@ -78,7 +78,7 @@ Before you start configuring security rules, confirm the following steps:
7878
$rulecollection = New-AzNetworkManagerSecurityAdminRuleCollection @collection
7979
```
8080
81-
1. Define the variables for the source and destination address prefixes and ports with [New-AzNetworkManagerAddressPrefixItem](/powershell/module/az.network/new-aznetworkmanageraddressprefixitem).
81+
1. Define the variables for the source and destination address prefixes and ports with New-AzNetworkManagerAddressPrefixItem.
8282
8383
```azurepowershell-interactive
8484
$sourceip = @{
@@ -101,7 +101,7 @@ Before you start configuring security rules, confirm the following steps:
101101
$destinationPortList.Add("443”)
102102
```
103103
104-
1. Create a security rule with [New-AzNetworkManagerSecurityAdminRule](/powershell/module/az.network/new-aznetworkmanagersecurityadminrule).
104+
1. Create a security rule with New-AzNetworkManagerSecurityAdminRule.
105105
106106
```azurepowershell-interactive
107107
$rule = @{
@@ -124,7 +124,7 @@ Before you start configuring security rules, confirm the following steps:
124124
125125
## Commit deployment
126126
127-
Commit the security configuration to target regions with [Deploy-AzNetworkManagerCommit](/powershell/module/az.network/deploy-aznetworkmanagercommit).
127+
Commit the security configuration to target regions with Deploy-AzNetworkManagerCommit.
128128
129129
```azurepowershell-interactive
130130
[System.Collections.Generic.List[string]]$configIds = @()
@@ -151,7 +151,7 @@ If you no longer need the security configuration, you'll need to make sure the f
151151

152152
### Remove security configuration deployment
153153

154-
Remove the security deployment by deploying a configuration with [Deploy-AzNetworkManagerCommit](/powershell/module/az.network/deploy-aznetworkmanagercommit).
154+
Remove the security deployment by deploying a configuration with Deploy-AzNetworkManagerCommit.
155155

156156
```azurepowershell-interactive
157157
[System.Collections.Generic.List[string]]$configIds = @()
@@ -169,7 +169,7 @@ Deploy-AzNetworkManagerCommit @removedeployment
169169

170170
### Remove security rules
171171

172-
Remove security rules with [Remove-AzNetworkManagerSecurityAdminRule](/powershell/module/az.network/remove-aznetworkmanagersecurityadminrule).
172+
Remove security rules with Remove-AzNetworkManagerSecurityAdminRule.
173173

174174
```azurepowershell-interactive
175175
$removerule = @{
@@ -195,7 +195,7 @@ Remove-AzNetworkManagerSecurityAdminRuleCollection @removecollection
195195

196196
### Delete configuration
197197

198-
Delete the security configuration with [Remove-AzNetworkManagerSecurityAdminConfiguration](/powershell/module/az.network/remove-aznetworkmanagersecurityadminconfiguration).
198+
Delete the security configuration with Remove-AzNetworkManagerSecurityAdminConfiguration.
199199

200200
```azurepowershell-interactive
201201
$removeconfig = @{

0 commit comments

Comments
 (0)