Skip to content

Commit 131ed6a

Browse files
committed
PS command update
1 parent 8e1c7c7 commit 131ed6a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

articles/internet-peering/howto-subscription-association-powershell.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Associate peer ASN to Azure subscription - PowerShell
3-
description: Associate peer ASN to Azure subscription using PowerShell.
3+
description: Learn how to associate peer ASN to Azure subscription using PowerShell.
44
services: internet-peering
55
author: halkazwini
66
ms.service: internet-peering
77
ms.topic: how-to
8-
ms.date: 01/23/2023
8+
ms.date: 04/24/2023
99
ms.author: halkazwini
1010
ms.custom: template-how-to, devx-track-azurepowershell, engagement-fy23
1111
---
@@ -48,12 +48,8 @@ Get-AzResourceProvider -ProviderNamespace Microsoft.Peering
4848
Below is an example to update peer information.
4949

5050
```powershell
51-
New-AzPeerAsn `
52-
-Name "Contoso_1234" `
53-
-PeerName "Contoso" `
54-
-PeerAsn 1234 `
55-
56-
-Phone "+1 (555) 555-5555"
51+
$contactDetails = New-AzPeerAsnContactDetail -Role Noc -Email "[email protected]" -Phone "+1 (555) 555-5555"
52+
New-AzPeerAsn -Name "Contoso_1234" -PeerName "Contoso" -PeerAsn 1234 -ContactDetail $contactDetails
5753
```
5854

5955
> [!NOTE]

0 commit comments

Comments
 (0)