1

I am learning Azure Powershell and I want to download the VPN client files for the gateway using Powershell. As per Microsoft this can be done with New-AzureRmVpnClientConfiguration but I could not find much detail on how to download the client. Can anybody guide me to a solution for this?

enter image description here

Overmind
  • 3,221
shikran
  • 31

1 Answers1

2

you can use following command in order to download VPN client:

$cert=New-AzureRmVpnClientConfiguration -ResourceGroupName Group1 -AuthenticationMethod EAPTLS -Name newGW

$cert.VpnProfileSASUrl

source: https://babarmunir.wordpress.com/2018/12/30/configure-openvpn-for-azure-point-to-site-vpn-gateway-using-power-shell/