Skip to main content
Jorge Bernhardt Jorge Bernhardt

Get-AzVirtualNetworkGatewayConnection

2021

How to change the PSK of the Azure VPN Gateway Connection
·770 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure VPN Gateway Connect-AzAccount
When deploying a VPN Gateway in Azure, we are limited to using pre-shared keys (PSK) for authentication. As you know, Azure generates a Pre-Shared Key (PSK) when the VPN tunnel is created.

2020

How to deploy a VPN S2S in an existing VNet
·803 words·4 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Some time ago, I wrote a post showing how to deploy an Azure VPN S2S (site-to-site) from scratch. But this time, I will use the new PowerShell Az module and show you how to deploy it in an existing Azure virtual network.