简体   繁体   中英

How to create an Azure Point-to-site Virtual Network through Powershell?

How can you create a point-to-site Azure Virtual network using PowerShell? All the articles that I find online are using the Get-AzureVNetConfig and the Set-AzureVNetConfig cmdlets, while this is really a hard one to maintain. I think there must be a better and cleaner way. I tried the new RM cmdlets, and they created the virtual network, but couldnt create a point to site connection. Microsoft acrticles say that they are not supported yet, so am looking for any alternatives using either the old or new cmdlets.

Moreover, am wondering what does the command "New-AzureVirtualNetwork" actually does, as it doesnt get recognized in Azure Powershell 0.9 and 1.0 as well https://msdn.microsoft.com/en-us/library/mt163537.aspx

Your help in this is much appreciated.

We've just published the instructions of creating Azure P2S VPNs with Azure RM PowerShell:

https://azure.microsoft.com/en-us/documentation/articles/vpn-gateway-howto-point-to-site-rm-ps/

You will need the most recent PowerShell release (1.0.2 or above). Please take a look and let us know if you have any questions.

Thanks,

Yushun [MSFT]

At last they released an article with the steps needed to do it!

https://azure.microsoft.com/en-us/documentation/articles/vpn-gateway-howto-point-to-site-rm-ps/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM