可以使用cmdlet New-AzureSqlDatabaseServer
在Azure上创建SQL Server但是如何设置服务器名称呢? Azure提供了一个自动名称,但稍后再取回它并不容易
答案 0 :(得分:1)
您可以使用https://msdn.microsoft.com/en-us/library/mt163526.aspx
设置Azure Sql Server名称但您需要将Azure模式更改为Azure Resource Manager模式: Switch-AzureMode -Name AzureResourceManager
您还需要最新的Azure powershell模块: http://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/