0

Already discussed at: Get-AzureSqlDatabaseServer : The term 'Get-AzureSqlDatabaseServer' is not recognized as the name of a cmdlet

I just need to be sure if this behavior is due to the whole Azure Services Management deprecated ? Replaced by AzureRM or is it something else ?

4

1 回答 1

1

如果 cmdlet 不以开头,<verb>-AzureRm*则它不是AzureRm模块的一部分。

Get-AzureSqlDatabaseServer似乎Azure是已弃用的模块的一部分。

也许您正在寻找Get-AzureRmSqlServer

Get-Help Get-AzureRmSqlServer

NAME
Get-AzureRmSqlServer

SYNOPSIS
Returns information about SQL Database servers.


SYNTAX
Get-AzureRmSqlServer [[-ResourceGroupName] <System.String>] [[-ServerName] 
<System.String>] [-DefaultProfile <Microsoft.Azure.Commands.Common.Authenticatio
n.Abstractions.IAzureContextContainer>] [-Confirm 
<System.Management.Automation.SwitchParameter>] [-WhatIf 
<System.Management.Automation.SwitchParameter>] [<CommonParameters>]


DESCRIPTION
The Get-AzureRmSqlServer cmdlet returns information about one or more Azure SQL 
Database servers. Specify the name of a server to see information for only that 
server.
于 2018-10-23T07:39:28.280 回答