Skip to content

Commit 5836b50

Browse files
committed
fixes
1 parent ef87d06 commit 5836b50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/virtual-network/virtual-network-manage-subnet.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,21 @@ az network vnet subnet create \
105105

106106
1. Use the [Add-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/add-azvirtualnetworksubnetconfig) command to configure the subnet.
107107

108-
```azurepowershell-interactive
108+
```azurepowershell-interactive
109109
$vnet = Get-AzVirtualNetwork @vnetParams
110110
$subnetParams = @{
111111
Name = "<subnetName>"
112112
VirtualNetwork = $vnet
113113
AddressPrefix = "<String[]>"
114114
}
115115
Add-AzVirtualNetworkSubnetConfig @subnetParams
116-
```
116+
```
117117
118118
1. Then associate the subnet configuration to the virtual network with [Set-AzVirtualNetwork](/powershell/module/az.network/Set-azVirtualNetwork).
119119
120-
```azurepowershell-interactive
121-
Set-AzVirtualNetwork -VirtualNetwork $vnet
122-
```
120+
```azurepowershell-interactive
121+
Set-AzVirtualNetwork -VirtualNetwork $vnet
122+
```
123123
124124
---
125125

0 commit comments

Comments
 (0)