How to collect Azure VPN configuration file?

Q: We are re-configure our VPN. How can we collect Azure VPN configuration file?

chicagotech.net: run these command lines:

  1. Install-Module -Name AzureRM.
  2. Add-AzureAccount
  3. Get-AzureVNetConfig -ExportToFile c:\azure\networkconfig.xml

Note: if you don’t have c:\azure folder, please creat it first.

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com