Skip to content

Commit 95be8e9

Browse files
committed
freshness review
1 parent afc1570 commit 95be8e9

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

articles/vpn-gateway/vpn-gateway-connect-different-deployment-models-portal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to connect classic VNets to Resource Manager VNets using
55
author: cherylmc
66
ms.service: vpn-gateway
77
ms.topic: how-to
8-
ms.date: 04/25/2022
8+
ms.date: 03/12/2024
99
ms.author: cherylmc
1010
ms.custom: devx-track-azurepowershell, devx-track-arm-template
1111
---
@@ -32,12 +32,12 @@ The following table shows an example of how the example VNets and local sites ar
3232

3333
These steps assume that both VNets have already been created. If you're using this article as an exercise and don't have VNets, there are links in the steps to help you create them.
3434

35-
* Verify that the address ranges for the VNets don't overlap with each other, or overlap with any of the ranges for other connections that the gateways may be connected to.
35+
* Verify that the address ranges for the VNets don't overlap with each other, or overlap with any of the ranges for other connections that the gateways might be connected to.
3636
* In this article, we use both the Azure portal and PowerShell. PowerShell is required to create the connection from the classic VNet to the Resource Manager VNet. Install the latest PowerShell cmdlets for **both** Resource Manager and Service Management.
3737

3838
While it's possible to perform a few of the PowerShell commands using the Azure Cloud Shell environment, you need to install both versions of the cmdlets to create the connections properly.
3939

40-
* [Service Management (classic) PowerShell cmdlets](/powershell/azure/servicemanagement/install-azure-ps?). When you install the Service Management cmdlets, you may need to modify the [Execution policy](/powershell/module/microsoft.powershell.core/about/about_execution_policies?) in order to install the classic version of the Azure module.
40+
* [Service Management (classic) PowerShell cmdlets](/powershell/azure/servicemanagement/install-azure-ps?). When you install the Service Management cmdlets, you might need to modify the [Execution policy](/powershell/module/microsoft.powershell.core/about/about_execution_policies?) in order to install the classic version of the Azure module.
4141

4242
* [AZ PowerShell cmdlets for Resource Manager](/powershell/azure/install-az-ps?)
4343

@@ -320,7 +320,7 @@ If you get an error, verify the site and the VNet names are correct. Also, make
320320

321321
## <a name="verify"></a>Verify your connections
322322

323-
You can verify your connections by using the Azure portal or PowerShell. When verifying, you may need to wait a minute or two as the connection is being created. When a connection is successful, the connectivity state changes from 'Connecting' to 'Connected'.
323+
You can verify your connections by using the Azure portal or PowerShell. When verifying, you might need to wait a minute or two as the connection is being created. When a connection is successful, the connectivity state changes from 'Connecting' to 'Connected'.
324324

325325
### Verify the classic VNet to RM connection
326326

articles/vpn-gateway/vpn-gateway-connect-different-deployment-models-powershell.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.service: vpn-gateway
77
ms.custom: devx-track-azurepowershell, devx-track-arm-template
88
ms.topic: how-to
9-
ms.date: 04/26/2022
9+
ms.date: 03/12/2024
1010
ms.author: cherylmc
1111
---
1212
# Connect virtual networks from different deployment models using PowerShell
@@ -34,12 +34,12 @@ The following steps walk you through the settings necessary to configure a dynam
3434

3535
These steps assume that you have a legacy classic VNet and a Resource Manager VNet already created.
3636

37-
* Verify that the address ranges for the VNets don't overlap with each other, or overlap with any of the ranges for other connections that the gateways may be connected to.
37+
* Verify that the address ranges for the VNets don't overlap with each other, or overlap with any of the ranges for other connections that the gateways might be connected to.
3838
* In this article, we use PowerShell. Install the latest PowerShell cmdlets to your computer for **both** Resource Manager and Service Management.
3939

4040
While it's possible to perform a few of the PowerShell commands using the Azure Cloud Shell environment, you need to install both versions of the cmdlets to create the connections properly.
4141

42-
* [Service Management (classic) PowerShell cmdlets](/powershell/azure/servicemanagement/install-azure-ps?). When you install the Service Management cmdlets, you may need to modify the [Execution policy](/powershell/module/microsoft.powershell.core/about/about_execution_policies?) in order to install the classic version of the Azure module.
42+
* [Service Management (classic) PowerShell cmdlets](/powershell/azure/servicemanagement/install-azure-ps?). When you install the Service Management cmdlets, you might need to modify the [Execution policy](/powershell/module/microsoft.powershell.core/about/about_execution_policies?) in order to install the classic version of the Azure module.
4343

4444
* [AZ PowerShell cmdlets for Resource Manager](/powershell/azure/install-az-ps?)
4545

@@ -182,7 +182,7 @@ Set-AzureVNetConfig e0ee6e66-9167-cfa7-a746-7casb9 Succeeded
182182

183183
### 6. Create the gateway
184184

185-
Before running this example, refer to the network configuration file that you downloaded for the exact names that Azure expects to see. The network configuration file contains the values for your classic virtual networks. When a classic VNet is created using the portal, the virtual network name is different in the network configuration file. For example, if you used the Azure portal to create a classic VNet named 'Classic VNet' and created it in a resource group named 'ClassicRG', the name that is contained in the network configuration file is converted to 'Group ClassicRG Classic VNet'. Always use the name contained in the network configuration file when you are working with PowerShell.When you specify the name of a VNet that contains spaces, use quotation marks around the value.
185+
Before running this example, refer to the network configuration file that you downloaded for the exact names that Azure expects to see. The network configuration file contains the values for your classic virtual networks. When a classic VNet is created using the portal, the virtual network name is different in the network configuration file. For example, if you used the Azure portal to create a classic VNet named 'Classic VNet' and created it in a resource group named 'ClassicRG', the name that is contained in the network configuration file is converted to 'Group ClassicRG Classic VNet'. Always use the name contained in the network configuration file when you're working with PowerShell.When you specify the name of a VNet that contains spaces, use quotation marks around the value.
186186

187187
Use the following example to create a dynamic routing gateway:
188188

@@ -305,7 +305,7 @@ In this section, you work with the classic VNet. You replace the placeholder IP
305305

306306
## <a name="connect"></a>Create a connection between the gateways
307307

308-
Creating a connection between the gateways requires PowerShell. You may need to add your Azure Account to use the classic version of the PowerShell cmdlets. To do so, use **Add-AzureAccount**.
308+
Creating a connection between the gateways requires PowerShell. You might need to add your Azure Account to use the classic version of the PowerShell cmdlets. To do so, use **Add-AzureAccount**.
309309

310310
1. In the PowerShell console, set your shared key. Before running the cmdlets, refer to the network configuration file that you downloaded for the exact names that Azure expects to see. When specifying the name of a VNet that contains spaces, use single quotation marks around the value.
311311

@@ -348,7 +348,7 @@ You can verify that your connection succeeded by using the 'Get-AzureVNetConnect
348348
Get-AzureVNetConnection "ClassicVNet"
349349
```
350350

351-
1. After the cmdlet has finished, view the values. In the example below, the Connectivity State shows as 'Connected' and you can see ingress and egress bytes.
351+
1. After the cmdlet has finished, view the values. In the following example, the Connectivity State shows as 'Connected' and you can see ingress and egress bytes.
352352

353353
```output
354354
ConnectivityState : Connected
@@ -374,7 +374,7 @@ You can verify that your connection succeeded by using the 'Get-AzVirtualNetwork
374374
Get-AzVirtualNetworkGatewayConnection -Name VNet1toSite1 -ResourceGroupName TestRG1
375375
```
376376

377-
1. After the cmdlet has finished, view the values. In the example below, the connection status shows as 'Connected' and you can see ingress and egress bytes.
377+
1. After the cmdlet has finished, view the values. In the following example, the connection status shows as 'Connected' and you can see ingress and egress bytes.
378378

379379
```azure-powershell-interactive
380380
"connectionStatus": "Connected",

0 commit comments

Comments
 (0)