【问题标题】:'New-ShardMapManager' is not recognized as the name of a cmdlet trying to access through powershell'New-ShardMapManager' 未被识别为尝试通过 powershell 访问的 cmdlet 的名称
【发布时间】:2017-05-08 08:00:39
【问题描述】:

我使用的步骤: Login-AzureRmAccount——我在 Powershell 中以管理员模式运行了这个 cmdlet 登录后,我在下面的查询中运行了这个

New-ShardMapManager -UserName 'user_name' -Password 'enterd password' -SqlServerName 'server_name.database.windows.net' -SqlDatabaseName 'Elastic_poc_db'

我收到以下错误:

New-ShardMapManager : The term 'New-ShardMapManager' 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.

At line:1 char:1

+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-ShardMapManager:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

我正在使用 Powershell 4 版本

【问题讨论】:

标签: azure azure-sql-database powershell-4.0 azure-elastic-scale azure-elastic-sharding


【解决方案1】:

New-ShardMapManager 不是 Azure 资源管理器的一部分,它是一个单独的下载,您可以从这里下载:https://gallery.technet.microsoft.com/scriptcenter/Azure-SQL-DB-Elastic-731883db

【讨论】:

    猜你喜欢
    • 2022-12-20
    • 2014-08-25
    • 2019-11-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-26
    相关资源
    最近更新 更多