SQL 无法再识别 Azure powershell 命令。弃用?

SQL Azure powershell commands not recognized anymore. Deprecated?

已在以下位置讨论过:Get-AzureSqlDatabaseServer : The term 'Get-AzureSqlDatabaseServer' is not recognized as the name of a cmdlet

我只需要确定此行为是否是由于整个 Azure 服务管理已弃用所致?被 AzureRM 取代还是其他东西?

如果 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.