|
1 | 1 | ---
|
2 | 2 | title: Create or change a Peering Service connection - Azure PowerShell
|
3 | 3 | description: Learn how to create or change a Peering Service connection using PowerShell.
|
4 |
| -services: peering-service |
5 | 4 | author: halkazwini
|
| 5 | +ms.author: halkazwini |
6 | 6 | ms.service: peering-service
|
7 | 7 | ms.topic: how-to
|
8 |
| -ms.date: 01/19/2023 |
9 |
| -ms.author: halkazwini |
10 |
| -ms.custom: template-how-to, devx-track-azurepowershell, engagement-fy23 |
| 8 | +ms.date: 02/08/2024 |
| 9 | +ms.custom: devx-track-azurepowershell |
| 10 | + |
| 11 | +#CustomerIntent: As an administrator, I want to learn how to create and manage a Peering Service connection using Azure PowerShell so I can enhance the connectivity to Microsoft services over the public internet. |
11 | 12 | ---
|
12 | 13 |
|
13 | 14 | # Create or change a Peering Service connection using PowerShell
|
14 | 15 |
|
15 |
| -> [!div class="op_single_selector"] |
16 |
| -> * [Portal](azure-portal.md) |
17 |
| -> * [PowerShell](powershell.md) |
18 |
| -> * [Azure CLI](cli.md) |
19 |
| -
|
20 | 16 | Azure Peering Service is a networking service that enhances connectivity to Microsoft cloud services such as Microsoft 365, Dynamics 365, software as a service (SaaS) services, Azure, or any Microsoft services accessible via the public internet.
|
21 | 17 |
|
22 |
| -In this article, you'll learn how to create and change a Peering Service connection using PowerShell. |
| 18 | +In this article, you learn how to create and change a Peering Service connection using Azure PowerShell. To learn how to manage a Peering Service connection using the Azure portal or Azure CLI, see [Create, change, or delete a Peering Service connection using the Azure portal](azure-portal.md) or [Create, change, or delete a Peering Service connection using the Azure CLI](cli.md). |
23 | 19 |
|
24 |
| -If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
25 |
| - |
26 |
| -[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)] |
27 |
| - |
28 |
| -If you decide to install and use PowerShell locally instead, this article requires you to use Azure PowerShell module version 1.0.0 or later. To find the installed version, run `Get-Module -ListAvailable Az`. For installation and upgrade information, see [Install Azure PowerShell module](/powershell/azure/install-azure-powershell). |
| 20 | +## Prerequisites |
29 | 21 |
|
30 |
| -Finally, if you're running PowerShell locally, you'll also need to run `Connect-AzAccount`. That command creates a connection with Azure. |
| 22 | +- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
31 | 23 |
|
32 |
| -Use the Azure PowerShell module to register and manage Peering Service. You can register or manage Peering Service from the PowerShell command line or in scripts. |
| 24 | +- Azure Cloud Shell or Azure PowerShell installed locally. |
33 | 25 |
|
34 |
| -## Prerequisites |
| 26 | + The steps in this article run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloudshell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal. |
35 | 27 |
|
36 |
| -- An Azure subscription. |
| 28 | + You can also [install Azure PowerShell locally](/powershell/azure/install-azure-powershell) to run the cmdlets. This article requires the Azure PowerShell module version 1.0.0 or later. To find the installed version, run `Get-Module -ListAvailable Az`. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-Az-ps). If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet. |
37 | 29 |
|
38 |
| -- A connectivity provider. For more information, see [Peering Service partners](./location-partners.md). |
| 30 | +- A connectivity provider. For more information, see [Peering Service partners](location-partners.md). |
39 | 31 |
|
40 | 32 | ## Register your subscription with the resource provider and feature flag
|
41 | 33 |
|
@@ -104,7 +96,7 @@ To remove the Peering Service prefix, use [Remove-AzPeeringServicePrefix](/power
|
104 | 96 | Remove-AzPeeringServicePrefix -ResourceGroupName myResourceGroup -Name myPeeringService -PrefixName myPrefix
|
105 | 97 | ```
|
106 | 98 |
|
107 |
| -## Next steps |
| 99 | +## Related content |
108 | 100 |
|
109 | 101 | - To learn more about Peering Service connections, see [Peering Service connection](connection.md).
|
110 | 102 | - To learn more about Peering Service connection telemetry, see [Access Peering Service connection telemetry](connection-telemetry.md).
|
0 commit comments