Networking
Virtual networks is the service in Azure that provides you with the following:
- Connectivity to your workload
- Connectivity from your workload to the outside world
- Connectivity between virtual machines
- Other connectivity options, such as VPN tunnels
- Traffic filtering
- Advanced routing options including BGP routes through an VPN tunnel
Virtual network
The most important component of the virtual networks service is the virtual network, or VNet for short.
Let's start with the simplest version of creating a VNet. To be honest, it's often the best way to do it; you'll probably need more commands to configure everything, but it makes it very clear what the purpose of your commands is:
New-AzureRmVirtualNetwork -Name <vnet name> ` -ResourceGroupName <resource group> -Location <location>` -AddressPrefix <network>
For example:
$myVnet = New-AzureRmVirtualNetwork -Name MyVirtualNetwork ` -ResourceGroupName $myRG -Location $myLocation ` -AddressPrefix "10.0.0.0/16"

The...