Skip to content

Commit e646e22

Browse files
authored
Merge pull request #231957 from asudbring/vnet-old-review-1
Review of old article for virtual network freshness 3 script reviews
2 parents fb27198 + a40644a commit e646e22

File tree

3 files changed

+11
-26
lines changed

3 files changed

+11
-26
lines changed

articles/virtual-network/scripts/virtual-network-powershell-sample-filter-network-traffic.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
---
22
title: Filter VM network traffic - Azure PowerShell script sample
33
description: Filter inbound and outbound VM network traffic - Azure PowerShell script sample.
4-
services: virtual-network
5-
documentationcenter: virtual-network
64
author: asudbring
7-
manager: twooley
85
ms.service: virtual-network
9-
ms.devlang: powershell
106
ms.topic: sample
11-
ms.workload: infrastructure
12-
ms.date: 03/20/2018
7+
ms.date: 03/23/2023
138
ms.author: allensu
149
ms.custom: devx-track-azurepowershell
1510
---
1611

1712
# Filter inbound and outbound VM network traffic script sample
1813

19-
This script sample creates a virtual network with front-end and back-end subnets. Inbound network traffic to the front-end subnet is limited to HTTP, and HTTPS, while outbound traffic to the internet from the back-end subnet is not permitted. After running the script, you have one virtual machine with two NICs. Each NIC is connected to a different subnet.
14+
This script sample creates a virtual network with front-end and back-end subnets. Inbound network traffic to the front-end subnet is limited to HTTP, and HTTPS, while outbound traffic to the internet from the back-end subnet isn't permitted. After running the script, you have one virtual machine with two NICs. Each NIC is connected to a different subnet.
2015

21-
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Azure PowerShell module version 1.0.0 or later. To find the installed version, run `Get-InstalledModule -Name Az`. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you are running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
16+
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Azure PowerShell module version 1.0.0 or later. To find the installed version, run `Get-InstalledModule -Name Az`. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
2217

2318
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2419

@@ -58,4 +53,4 @@ This script uses the following commands to create a resource group, virtual netw
5853

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

61-
Additional virtual network PowerShell script samples can be found in [Virtual network PowerShell samples](../powershell-samples.md).
56+
More virtual network PowerShell script samples can be found in [Virtual network PowerShell samples](../powershell-samples.md).

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
---
22
title: Peer two virtual networks - Azure PowerShell script sample
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 the Azure network.
4-
services: virtual-network
5-
documentationcenter: virtual-network
64
author: asudbring
7-
manager: mtillman
85
ms.service: virtual-network
9-
ms.devlang: powershell
106
ms.topic: sample
11-
ms.workload: infrastructure
12-
ms.date: 03/20/2018
7+
ms.date: 03/23/2023
138
ms.author: allensu
149
ms.custom: devx-track-azurepowershell
1510
---
1611

1712
# Peer two virtual networks script sample
1813

19-
This script sample 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 sample 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.
2015

21-
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Az PowerShell module version 5.4.1 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 are running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
16+
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Az PowerShell module version 5.4.1 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're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
2217

2318
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2419

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

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

54-
Additional virtual network PowerShell script samples can be found in [Virtual network PowerShell samples](../powershell-samples.md).
49+
More virtual network PowerShell script samples can be found in [Virtual network PowerShell samples](../powershell-samples.md).

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
---
22
title: Route traffic via NVA - Azure PowerShell script sample
33
description: Azure PowerShell script sample - Route traffic through a firewall NVA.
4-
services: virtual-network
5-
documentationcenter: virtual-network
64
author: asudbring
7-
manager: mtillman
85
ms.service: virtual-network
9-
ms.devlang: powershell
106
ms.topic: sample
11-
ms.workload: infrastructure
12-
ms.date: 03/20/2018
7+
ms.date: 03/23/2023
138
ms.author: allensu
149
ms.custom: devx-track-azurepowershell
1510
---
@@ -18,7 +13,7 @@ ms.custom: devx-track-azurepowershell
1813

1914
This script sample creates a virtual network with front-end and back-end subnets. It also creates a VM with IP forwarding enabled to route traffic between the two subnets. After running the script you can deploy network software, such as a firewall application, to the VM.
2015

21-
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Az PowerShell module version 5.4.1 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 are running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
16+
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Az PowerShell module version 5.4.1 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're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
2217

2318
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2419

@@ -59,4 +54,4 @@ This script uses the following commands to create a resource group, virtual netw
5954

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

62-
Additional virtual network PowerShell script samples can be found in [Virtual network PowerShell samples](../powershell-samples.md).
57+
More virtual network PowerShell script samples can be found in [Virtual network PowerShell samples](../powershell-samples.md).

0 commit comments

Comments
 (0)