Skip to content

Commit 30ea2e3

Browse files
committed
tweak
1 parent 72628c3 commit 30ea2e3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/peering-service/powershell.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Use the Azure PowerShell module to register and manage Peering Service. You can
3737

3838
- A connectivity provider. For more information, see [Peering Service partners](./location-partners.md).
3939

40-
### Register a subscription with the resource provider and feature flag
40+
## Register a subscription with the resource provider and feature flag
4141

4242
Before you proceed to the steps of creating Peering Service, register your subscription with the resource provider and feature flag using [Register-AzResourceProvider](/powershell/module/az.resources/register-azresourceprovider) and [Register-AzProviderFeature](/powershell/module/az.resources/get-azproviderfeature):
4343

@@ -48,7 +48,7 @@ Register-AzResourceProvider -ProviderNamespace Microsoft.Peering
4848
Register-AzProviderFeature -FeatureName AllowPeeringService -ProviderNamespace Microsoft.Peering
4949
```
5050

51-
### Fetch the location and service provider
51+
## List Peering Service locations and service providers
5252

5353
Use [Get-AzPeeringServiceCountry](/powershell/module/az.peering/get-azpeeringservicecountry) to list the countries where Peering Service is available and [Get-AzPeeringServiceLocation](/powershell/module/az.peering/get-azpeeringservicelocation) to list the available metro locations in each country where you can get the Peering Service:
5454

@@ -65,39 +65,39 @@ Use [Get-AzPeeringServiceProvider](/powershell/module/az.peering/get-azpeeringse
6565
Get-AzPeeringServiceProvider
6666
```
6767

68-
### Create a Peering Service connection
68+
## Create a Peering Service connection
6969

7070
Create a Peering Service connection using [New-AzPeeringService](/powershell/module/az.peering/new-azpeeringservice):
7171

7272
```azurepowershell-interactive
7373
New-AzPeeringService -ResourceGroupName myResourceGroup -Name myPeeringService -PeeringLocation Virginia -PeeringServiceProvider Contoso
7474
```
7575

76-
### Add the Peering Service prefix
76+
## Add the Peering Service prefix
7777

7878
Use [New-AzPeeringServicePrefix](/powershell/module/az.peering/new-azpeeringserviceprefix) to add the prefix provided to you by the connectivity provider:
7979

8080
```azurepowershell-interactive
8181
New-AzPeeringServicePrefix -ResourceGroupName myResourceGroup -PeeringServiceName myPeeringService -Name myPrefix -prefix 240.0.0.0/32 -ServiceKey 00000000-0000-0000-0000-000000000000
8282
```
8383

84-
### List all the Peering Services connections
84+
## List all the Peering Services connections
8585

8686
To view the list of all Peering Services, use [Get-AzPeeringService](/powershell/module/az.peering/get-azpeeringservice):
8787

8888
```azurepowershell-interactive
8989
Get-AzPeeringService | Format-Table Name, PeeringServiceLocation, PeeringServiceProvider, Location
9090
```
9191

92-
### List all the Peering Service prefixes
92+
## List all the Peering Service prefixes
9393

9494
To view the list of all Peering Service prefixes, use [Get-AzPeeringServicePrefix](/powershell/module/az.peering/get-azpeeringserviceprefix):
9595

9696
```azurepowershell-interactive
9797
Get-AzPeeringServicePrefix -PeeringServiceName myPeeringService -ResourceGroupName myResourceGroup
9898
```
9999

100-
### Remove the Peering Service prefix
100+
## Remove the Peering Service prefix
101101

102102
To remove the Peering Service prefix, use [Remove-AzPeeringServicePrefix](/powershell/module/az.peering/remove-azpeeringserviceprefix):
103103

0 commit comments

Comments
 (0)