Skip to content

Commit 232ed94

Browse files
committed
fixes
1 parent 4e63b29 commit 232ed94

File tree

2 files changed

+11
-25
lines changed

2 files changed

+11
-25
lines changed

articles/networking/powershell-samples.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,24 @@
11
---
22
title: Azure PowerShell Samples - Networking
33
description: Learn about Azure PowerShell samples for networking, including a sample for creating a virtual network for multi-tier applications.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
8-
9-
tags:
10-
ms.assetid:
4+
author: asudbring
115
ms.service: virtual-network
126
ms.topic: article
13-
ms.tgt_pltfrm:
14-
ms.workload: infrastructure
15-
ms.date: 05/24/2017
16-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: asudbring
179

1810
---
1911
# Azure PowerShell Samples for networking
2012

21-
The following table includes links to scripts built using Azure PowerShell.
13+
The following table includes links to scripts for Azure PowerShell.
2214

2315
| Script | Description |
2416
|-|-|
2517
|**Connectivity between Azure resources**||
2618
| [Create a virtual network for multi-tier applications](./scripts/virtual-network-powershell-sample-multi-tier-application.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates a virtual network with front-end and back-end subnets. Traffic to the front-end subnet is limited to HTTP, while traffic to the back-end subnet is limited to SQL, port 1433. |
2719
| [Peer two virtual networks](./scripts/virtual-network-powershell-sample-peer-two-virtual-networks.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates and connects two virtual networks in the same region. |
2820
| [Route traffic through a network virtual appliance](./scripts/virtual-network-powershell-sample-route-traffic-through-nva.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates a virtual network with front-end and back-end subnets and a VM that is able to route traffic between the two subnets. |
29-
| [Filter inbound and outbound VM network traffic](./scripts/virtual-network-powershell-filter-network-traffic.md?toc=%2fazure%2fnetworking%2ftoc.json) | 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.. Outbound traffic to the Internet from the back-end subnet is not permitted. |
21+
| [Filter inbound and outbound VM network traffic](./scripts/virtual-network-powershell-filter-network-traffic.md?toc=%2fazure%2fnetworking%2ftoc.json) | 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. Outbound traffic to the Internet from the back-end subnet isn't permitted. |
3022
|**Load balancing and traffic direction**||
3123
| [Load balance traffic to VMs for high availability](./scripts/load-balancer-windows-powershell-sample-nlb.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates several virtual machines in a highly available and load balanced configuration. |
3224
| [Direct traffic across multiple regions for high application availability](./scripts/traffic-manager-powershell-websites-high-availability.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates two app service plans, two web apps, a traffic manager profile, and two traffic manager endpoints. |

articles/networking/scripts/virtual-network-powershell-sample-multi-tier-application.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
---
22
title: Azure PowerShell script sample - Create a network for multi-tier applications
33
description: Azure PowerShell script sample - Create a virtual network for multi-tier applications.
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

1913
# Create a network for multi-tier applications
2014

21-
This script sample creates a virtual network with front-end and back-end subnets. Traffic to the front-end subnet is limited to HTTP and SSH, while traffic to the back-end subnet is limited to MySQL, port 3306. After running the script, you will have two virtual machines, one in each subnet that you can deploy web server and MySQL software to.
15+
This script sample creates a virtual network with front-end and back-end subnets. Traffic to the front-end subnet is limited to HTTP and SSH, while traffic to the back-end subnet is limited to MySQL, port 3306. After running the script, you'll have two virtual machines, one in each subnet that you can deploy web server and MySQL software to.
2216

2317
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.
2418

@@ -35,7 +29,7 @@ If needed, install the Azure PowerShell using the instruction found in the [Azur
3529
Run the following command to remove the resource group, VM, and all related resources.
3630

3731
```powershell
38-
Remove-AzResourceGroup -Name myResourceGroup
32+
Remove-AzResourceGroup -Name $rgName
3933
```
4034

4135
## Script explanation
@@ -58,4 +52,4 @@ This script uses the following commands to create a resource group, virtual netw
5852

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

61-
Additional networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).
55+
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)