As mentioned in the previous recipe, the local network gateway holds information on the local network that we want to connect to Azure VNet. In addition to creating a local network gateway through the Azure portal, we can create it with Azure PowerShell.
Creating a local network gateway with PowerShell
Getting ready
Open the PowerShell console and make sure you are connected to your Azure subscription.
How to do it...
To create a new local network gateway, execute the following command:
New-AzureRmLocalNetworkGateway -Name packt-lng-script -ResourceGroupName 'Packt...