1

Background I am attempting to link up multiple VNets with one another in Azure. To do this I am following this tutorial:

VNet-to-VNet: Connecting Virtual Networks in Azure across Different Regions

I also found another reference that does about the same:

Azure VNET to VNET VPN, across regions and data centers: not so complicated

Problem Both tutorials state that I have to set a gateway key through the cmdlet 'Set-AzureVNetGatewayKey'. This however seems to be a non-existant cmdlet. Everything was successful till this point.

PS C:\> Set-AzureVNetGatewayKey -VNetName NETONE-LocalNetworkSiteName NETONE SharedKey  *********
Set-AzureVNetGatewayKey : The term 'Set-AzureVNetGatewayKey' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I am also unable to find the said command in the Azure Cmdlet Reference

Does anyone know of an alternative way???

SeanTech
  • 13
  • 2

1 Answers1

3

update your azure powershell installation. its a new cmdlet.

Winson Ly
  • 46
  • 1