无法识别New-AzureService [英] New-AzureService is not recognized

查看:87
本文介绍了无法识别New-AzureService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

我正在尝试在Cloud Shell中创建Cloud Service Classic,并找到了New-AzureService cmdlet.

I'm trying to create a Cloud Service Classic in Cloud Shell and found out the New-AzureService cmdlet.

可以以此创建Cloud Service吗?

Is it possible to create Cloud Service with this?

无论如何,如果我尝试得到这个:

Anyway if I try I get this:

我尝试在许多地方都无法安装的地方建议安装任何Azure模块.

I've tryed to Install any of Azure module suggested in many places ma none has worked.

任何人都可以帮忙吗?

Anyone can help please?

推荐答案

我相信该cmdlet来自Azure的经典部署模型,而不是RM.

"New-AzureService"与配合使用 AzureSMProfile .

Add-AzureAccount  #以AzureSMProfile登录并尝试以下命令:

"New-AzureService" -服务任何服务名称".


注意:若要安装Azure Service Management cmdlet,请使用安装模块Azure".

         要安装Azure Resource Manager cmdlet,请使用安装模块AzureRM".

有关更多详细信息,请参阅" Azure PowerShell cmdlet入门".  
I believe the cmdlet is from the Classic deployment model for Azure, rather than RM.

"New-AzureService" works with AzureSMProfile.

Add-AzureAccount   # Login as AzureSMProfile and try the following commands as:

"New-AzureService" -Service "Any Service Name".


Note: To install Azure Service Management cmdlets use "Install-Module Azure".

          To install Azure Resource Manager cmdlets use "Install-Module AzureRM".

For more details, see "Get-Started with Azure PowerShell cmdlets".  


这篇关于无法识别New-AzureService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆