Skip to content

Commit 834841c

Browse files
author
Michael Bender
committed
Updates to code for readability and usage
1 parent 3a69ee4 commit 834841c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-network-manager/create-virtual-network-manager-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ New-AzResourceGroup @rg
6868

6969
## Define the scope and access type
7070

71-
Define the scope and access type for the Azure Virtual Network Manager instance with [New-AzNetworkManagerScope](/powershell/module/az.network/new-aznetworkmanagerscope) This example defines a scope with a single subscription and sets the access type to **Connectivity**. Replace **<subscription id>** with the subscription ID of the subscription you want to manage with Azure Virtual Network Manager.
71+
Define the scope and access type for the Azure Virtual Network Manager instance with [New-AzNetworkManagerScope](/powershell/module/az.network/new-aznetworkmanagerscope) This example defines a scope with a single subscription and sets the access type to **Connectivity**. Replace with the **<subscription_id>** of the subscription you want to manage with Azure Virtual Network Manager.
7272

7373
```azurepowershell
7474
7575
Import-Module -Name Az.Network -RequiredVersion "5.3.0"
7676
7777
[System.Collections.Generic.List[string]]$subGroup = @()
78-
$subGroup.Add("/subscriptions/<subscription id>")
78+
$subGroup.Add("/subscriptions/<subscription_id>")
7979
8080
[System.Collections.Generic.List[String]]$access = @()
8181
$access.Add("Connectivity");
@@ -240,7 +240,7 @@ Using [Azure Policy](concept-azure-policy-integration.md), you define a conditio
240240
"then": {
241241
"effect": "addToNetworkGroup",
242242
"details": {
243-
"networkGroupId": "/subscriptions/dec492d3-4f4e-493b-aa47-7bdf2f96a6fc/resourceGroups/rg-learn-eastus-001/providers/Microsoft.Network/networkManagers/vnm-learn-eastus-001/networkGroups/ng-learn-prod-eastus-001"}
243+
"networkGroupId": "/subscriptions/<subscription_id>/resourceGroups/rg-learn-eastus-001/providers/Microsoft.Network/networkManagers/vnm-learn-eastus-001/networkGroups/ng-learn-prod-eastus-001"}
244244
},
245245
}'
246246

0 commit comments

Comments
 (0)