0

шаги, которые я использовал: Вход-AzureRmAccount - Я побежал эту команду в Powershell в режиме администратора после входа я побежал это ниже запрос«New-ShardMapManager» не распознается как имя командлета, пытающегося получить доступ через poweshell

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 версии

+0

Возможно ли это в PowerShell 4? Не использовали его самостоятельно, но вы пробовали с помощью 'New-AzureRmSqlElasticPool' https://docs.microsoft.com/en-us/powershell/resourcemanager/azurerm.sql/v1.0.12/new-azurermsqlelasticpool – Milen

ответ

Смежные вопросы