Azure PowerShell samples for virtual network

The following table includes links to Azure Powershell scripts:

Create a virtual network for multi-tier applications 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.
Peer two virtual networks Creates and connects two virtual networks in the same region.
Route traffic through a network virtual appliance Creates a virtual network with front-end and back-end subnets and a VM that is able to route traffic between the two subnets.
Filter inbound and outbound VM network traffic 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.
Configure IPv4 + IPv6 dual stack virtual network Deploys dual-stack (IPv4+IPv6) virtual network with two VMs and an Azure Basic Load Balancer with IPv4 and IPv6 public IP addresses.