File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ResourceManager/Network/Commands.Network/help Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ You can also choose to include other features like BGP and Active-Active.
72
72
### 1: Create a Virtual Network Gateway
73
73
```
74
74
New-AzureRmResourceGroup -Location "UK West" -Name "vnet-gateway"
75
- New-AzureRMVirtualNetworkSubnetConfig -Name 'gatewaysubnet' -AddressPrefix '10.254.0.0/27'
75
+ $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name 'gatewaysubnet' -AddressPrefix '10.254.0.0/27'
76
76
77
77
$ngwpip = New-AzureRMPublicIpAddress -Name ngwpip -ResourceGroupName "vnet-gateway" -Location "UK West" -AllocationMethod Dynamic
78
78
$vnet = New-AzureRmVirtualNetwork -AddressPrefix "10.254.0.0/27" -Location "UK West" -Name vnet-gateway -ResourceGroupName "vnet-gateway" -Subnet $subnet
You can’t perform that action at this time.
0 commit comments