Skip to content

Commit b61e7c6

Browse files
Merge pull request #231923 from asudbring/vnet-old-review-1
Review of old article for virtual network freshness 4 script reviews
2 parents 398b33d + cf34253 commit b61e7c6

4 files changed

+12
-28
lines changed

articles/networking/scripts/virtual-network-cli-sample-peer-two-virtual-networks.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ This script creates and connects two virtual networks in the same region through
1717

1818
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
1919

20-
2120
## Sample script
2221

2322
[!code-azurecli-interactive[main](../../../cli_scripts/virtual-network/peer-two-virtual-networks/peer-two-virtual-networks.sh "Peer two networks")]

articles/networking/scripts/virtual-network-cli-sample-route-traffic-through-nva.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
---
22
title: Azure CLI script sample - Route traffic through a network virtual appliance
33
description: Azure CLI script sample - Route traffic through a firewall network virtual appliance.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
4+
author: asudbring
85
ms.service: virtual-network
9-
ms.devlang: azurecli
106
ms.topic: article
11-
ms.tgt_pltfrm:
12-
ms.workload: infrastructure
13-
ms.date: 07/07/2017
14-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: allensu
159
ms.custom: devx-track-azurecli
16-
1710
---
1811

1912
# Use an Azure CLI script to route traffic through a network virtual appliance
@@ -24,18 +17,16 @@ This script sample creates a virtual network with front-end and back-end subnets
2417

2518
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2619

27-
2820
## Sample script
2921

30-
3122
[!code-azurecli-interactive[main](../../../cli_scripts/virtual-network/route-traffic-through-nva/route-traffic-through-nva.sh "Route traffic through a network virtual appliance")]
3223

3324
## Clean up deployment
3425

3526
Run the following command to remove the resource group, VM, and all related resources.
3627

3728
```azurecli
38-
az group delete --name MyResourceGroup --yes
29+
az group delete --name $resourceGroup --yes
3930
```
4031

4132
## Script explanation
@@ -61,4 +52,4 @@ This script uses the following commands to create a resource group, virtual netw
6152

6253
For more information on the Azure CLI, see [Azure CLI documentation](/cli/azure).
6354

64-
Additional networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md)
55+
More networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md)

articles/networking/scripts/virtual-network-filter-network-traffic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This script sample creates a virtual network with front-end and back-end subnets
2626
Run the following command to remove the resource group, VM, and all related resources.
2727

2828
```azurecli
29-
az group delete --name MyResourceGroup --yes
29+
az group delete --name $resourceGroup --yes
3030
```
3131

3232
## Script explanation

articles/networking/scripts/virtual-network-powershell-sample-peer-two-virtual-networks.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
---
2-
title: Azure PowerShell Script Sample - Peer two virtual networks | Microsoft Docs
2+
title: Azure PowerShell Script Sample - Peer two virtual networks
33
description: Create and connect two virtual networks in the same region. Use the Azure script for two peer virtual networks to connect the networks through Azure.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
4+
author: asudbring
85
ms.service: virtual-network
9-
ms.devlang: powershell
106
ms.topic: article
11-
ms.tgt_pltfrm:
12-
ms.workload: infrastructure
13-
ms.date: 05/16/2017
14-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: allensu
159
ms.custom: devx-track-azurepowershell
1610
---
1711

1812
# Peer two virtual networks
1913

20-
This script creates and connects two virtual networks in the same region through the Azure network. After running the script, you will create a peering between two virtual networks.
14+
This script creates and connects two virtual networks in the same region through the Azure network. After running the script, you'll create a peering between two virtual networks.
2115

2216
If needed, install the Azure PowerShell using the instruction found in the [Azure PowerShell guide](/powershell/azure/), and then run `Connect-AzAccount` to create a connection with Azure.
2317

@@ -52,4 +46,4 @@ This script uses the following commands to create a resource group, virtual mach
5246

5347
For more information on the Azure PowerShell, see [Azure PowerShell documentation](/powershell/azure/).
5448

55-
Additional networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).
49+
More networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).

0 commit comments

Comments
 (0)