Skip to content

Commit 33536dc

Browse files
authored
Merge pull request #98276 from cherylmc/erclassic
update ps download steps
2 parents 1d0f113 + d0d6adc commit 33536dc

6 files changed

+38
-90
lines changed

articles/expressroute/expressroute-howto-add-gateway-classic.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: charwen
66

77
ms.service: expressroute
88
ms.topic: article
9-
ms.date: 11/05/2018
9+
ms.date: 12/06/2019
1010
ms.author: charwen
1111
ms.custom: seodec18
1212

@@ -28,7 +28,9 @@ This article will walk you through the steps to add, resize, and remove a virtua
2828
[!INCLUDE [vpn-gateway-classic-rm](../../includes/vpn-gateway-classic-rm-include.md)]
2929

3030
## Before beginning
31-
Verify that you have installed the Azure PowerShell cmdlets needed for this configuration (1.0.2 or later). If you haven't installed the cmdlets, you'll need to do so before beginning the configuration steps. For more information about installing Azure PowerShell, see [How to install and configure Azure PowerShell](/powershell/azure/overview).
31+
Verify that you have installed the Azure PowerShell cmdlets needed for this configuration.
32+
33+
[!INCLUDE [classic powershell install instructions](../../includes/expressroute-poweshell-classic-install-include.md)]
3234

3335
[!INCLUDE [expressroute-gateway-classic-ps](../../includes/expressroute-gateway-classic-ps-include.md)]
3436

articles/expressroute/expressroute-howto-circuit-classic.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,7 @@ This article walks you through the steps to check the status, update, or delete
3131

3232
## Before you begin
3333

34-
Install the latest versions of the Azure Service Management (SM) PowerShell modules and the ExpressRoute module. You can't use the Azure CloudShell environment to run SM modules.
35-
36-
1. Use the instructions in the [Installing the Service Management module](/powershell/azure/servicemanagement/install-azure-ps) article to install the Azure Service Management Module. If you have the Az or RM module already installed, be sure to use '-AllowClobber'.
37-
2. Import the installed modules. When using the following example, adjust the path to reflect the location of your installed PowerShell modules.
38-
39-
```powershell
40-
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.3.0\Azure.psd1'
41-
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.3.0\ExpressRoute\ExpressRoute.psd1'
42-
```
43-
3. To sign in to your Azure account, open your PowerShell console with elevated rights and connect to your account. Use the following example to help you connect using the Service Management module:
44-
45-
```powershell
46-
Add-AzureAccount
47-
```
34+
[!INCLUDE [classic powershell install instructions](../../includes/expressroute-poweshell-classic-install-include.md)]
4835

4936
## Get the status of a circuit
5037

articles/expressroute/expressroute-howto-coexist-classic.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ author: charwen
77

88
ms.service: expressroute
99
ms.topic: conceptual
10-
ms.date: 12/06/2018
10+
ms.date: 12/06/2019
1111
ms.author: charwen
12-
ms.custom: seodec18
12+
1313

1414
---
1515
# Configure ExpressRoute and Site-to-Site coexisting connections (classic)
@@ -74,6 +74,10 @@ There are two different sets of procedures to choose from in order to configure
7474

7575
In this procedure, creating connections that can coexist will require you to delete your gateway, and then configure new gateways. This means you will have downtime for your cross-premises connections while you delete and recreate your gateway and connections, but you will not need to migrate any of your VMs or services to a new virtual network. Your VMs and services will still be able to communicate out through the load balancer while you configure your gateway if they are configured to do so.
7676

77+
## Install PowerShell cmdlets
78+
79+
[!INCLUDE [classic powershell install instructions](../../includes/expressroute-poweshell-classic-install-include.md)]
80+
7781
## <a name="new"></a>To create a new virtual network and coexisting connections
7882
This procedure will walk you through creating a VNet and create Site-to-Site and ExpressRoute connections that will coexist.
7983

articles/expressroute/expressroute-howto-linkvnet-classic.md

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
title: 'ExpressRoute: Link a VNet to a circuit: classic'
2+
title: 'Azure ExpressRoute: Link a VNet to a circuit: classic'
33
description: This document provides an overview of how to link virtual networks (VNets) to ExpressRoute circuits by using the classic deployment model and PowerShell.
44
services: expressroute
5-
documentationcenter: na
65
author: cherylmc
76

87
ms.service: expressroute
98
ms.topic: conceptual
10-
ms.date: 07/27/2018
9+
ms.date: 12/06/2019
1110
ms.author: cherylmc
1211

1312
---
@@ -42,40 +41,7 @@ You can link up to 10 virtual networks to an ExpressRoute circuit. All virtual n
4241

4342
### Download the latest PowerShell cmdlets
4443

45-
Install the latest versions of the Azure Service Management (SM) PowerShell modules and the ExpressRoute module. When using the following example, note that the version number (in this example, 5.1.1) will change as newer versions of the cmdlets are released.
46-
47-
```powershell
48-
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.1.1\Azure\Azure.psd1'
49-
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.1.1\ExpressRoute\ExpressRoute.psd1'
50-
```
51-
52-
If you need more information about Azure PowerShell, see [Getting started with Azure PowerShell cmdlets](/powershell/azure/overview) for step-by-step guidance on how to configure your computer to use the Azure PowerShell modules.
53-
54-
### Sign in
55-
56-
To sign in to your Azure account, use the following examples:
57-
58-
1. Open your PowerShell console with elevated rights and connect to your account.
59-
60-
```powershell
61-
Connect-AzAccount
62-
```
63-
2. Check the subscriptions for the account.
64-
65-
```powershell
66-
Get-AzSubscription
67-
```
68-
3. If you have more than one subscription, select the subscription that you want to use.
69-
70-
```powershell
71-
Select-AzSubscription -SubscriptionName "Replace_with_your_subscription_name"
72-
```
73-
74-
4. Next, use the following cmdlet to add your Azure subscription to PowerShell for the classic deployment model.
75-
76-
```powershell
77-
Add-AzureAccount
78-
```
44+
[!INCLUDE [classic powershell install instructions](../../includes/expressroute-poweshell-classic-install-include.md)]
7945

8046
## Connect a virtual network in the same subscription to a circuit
8147
You can link a virtual network to an ExpressRoute circuit by using the following cmdlet. Make sure that the virtual network gateway is created and is ready for linking before you run the cmdlet.

articles/expressroute/expressroute-howto-routing-classic.md

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66

77
ms.service: expressroute
88
ms.topic: conceptual
9-
ms.date: 04/24/2019
9+
ms.date: 12/06/2019
1010
ms.author: cherylmc
1111

1212
---
@@ -38,40 +38,7 @@ These instructions only apply to circuits created with service providers that of
3838

3939
### Download the latest PowerShell cmdlets
4040

41-
Install the latest versions of the Azure Service Management (SM) PowerShell modules and the ExpressRoute module. When using the following example, note that the version number (in this example, 5.1.1) will change as newer versions of the cmdlets are released.
42-
43-
```powershell
44-
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.1.1\Azure\Azure.psd1'
45-
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.1.1\ExpressRoute\ExpressRoute.psd1'
46-
```
47-
48-
For more information, see [Getting started with Azure PowerShell cmdlets](/powershell/azure/overview) for step-by-step guidance on how to configure your computer to use the Azure PowerShell modules.
49-
50-
### Sign in
51-
52-
To sign in to your Azure account, use the following examples:
53-
54-
1. Open your PowerShell console with elevated rights and connect to your account.
55-
56-
```powershell
57-
Connect-AzAccount
58-
```
59-
2. Check the subscriptions for the account.
60-
61-
```powershell
62-
Get-AzSubscription
63-
```
64-
3. If you have more than one subscription, select the subscription that you want to use.
65-
66-
```powershell
67-
Select-AzSubscription -SubscriptionName "Replace_with_your_subscription_name"
68-
```
69-
70-
4. Next, use the following cmdlet to add your Azure subscription to PowerShell for the classic deployment model.
71-
72-
```powershell
73-
Add-AzureAccount
74-
```
41+
[!INCLUDE [classic powershell install instructions](../../includes/expressroute-poweshell-classic-install-include.md)]
7542

7643
## Azure private peering
7744

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
author: cherylmc
3+
ms.date: 12/06/2019
4+
ms.service: expressroute
5+
ms.topic: include
6+
ms.author: cherylmc
7+
---
8+
9+
Install the latest versions of the Azure Service Management (SM) PowerShell modules and the ExpressRoute module. You can't use the Azure CloudShell environment to run SM modules.
10+
11+
1. Use the instructions in the [Installing the Service Management module](/powershell/azure/servicemanagement/install-azure-ps) article to install the Azure Service Management Module. If you have the Az or RM module already installed, be sure to use '-AllowClobber'.
12+
2. Import the installed modules. When using the following example, adjust the path to reflect the location and version of your installed PowerShell modules.
13+
14+
```powershell
15+
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.3.0\Azure.psd1'
16+
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Azure\5.3.0\ExpressRoute\ExpressRoute.psd1'
17+
```
18+
3. To sign in to your Azure account, open your PowerShell console with elevated rights and connect to your account. Use the following example to help you connect using the Service Management module:
19+
20+
```powershell
21+
Add-AzureAccount
22+
```

0 commit comments

Comments
 (0)