Azure自动化:术语';设置AzureRmappsServicePlan';不被承认
我正在尝试使用Azure自动化:术语';设置AzureRmappsServicePlan';不被承认,azure,azure-powershell,azure-automation,Azure,Azure Powershell,Azure Automation,我正在尝试使用Set-AzureRmappsServicePlan扩展服务计划。我连接正常,可以列出帐户中的所有资源,但调用应用程序计划方法时,找不到该方法。这里错过了什么 代码: 错误: Set-AzureRmAppServicePlan : The term 'Set-AzureRmAppServicePlan' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
Set-AzureRmappsServicePlan
扩展服务计划。我连接正常,可以列出帐户中的所有资源,但调用应用程序计划方法时,找不到该方法。这里错过了什么
代码:
错误:
Set-AzureRmAppServicePlan : The term 'Set-AzureRmAppServicePlan' 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:35 char:1
+ Set-AzureRmAppServicePlan -Name "JJJLK" -ResourceGroupN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-AzureRmAppServicePlan:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
您需要将适当的模块导入Azure Automation帐户。您可以使用Azure门户从自动化模块库导入模块 更多信息请参考此 您还可以通过导入模块 请稍候,您可以在门户中找到这两个cmdlet
我看到了,但由于某种原因,它没有注册,或者我没有看到资产项下的导入。也许我不太累的时候需要看看。
自动化帐户
-->共享资源
-->模块
谢谢,我没意识到只需点击按钮就可以完成。我喜欢azure团队进展如此之快,但它有时会使互联网上的文档过时!
Set-AzureRmAppServicePlan : The term 'Set-AzureRmAppServicePlan' 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:35 char:1
+ Set-AzureRmAppServicePlan -Name "JJJLK" -ResourceGroupN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-AzureRmAppServicePlan:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException