If you already have Azure PowerShell installed, this will upgrade that installation.

Once that’s installed – the commands are easy.

1) Use the 'add-azureaccount' to add your Azure credentials for your subscription where the S2S gateway you want to upgrade is configured.

2) run the following command – obviously editing the name of the S2S VPN for yours. The process will take a while so don’t get worried if it doesn’t complete immediately. I quit watching mine after about 5 minutes and it still wasn’t done and didn’t look again until about 30 minutes later. So somewhere between 5 and 30 minutes. 🙂