【发布时间】:2020-12-07 15:53:50
【问题描述】:
如何在不删除 Az 的情况下解决我的问题?
我已删除 RM 并安装了 Az。 我在 VS2019 (16.6.5) 上有 LogicApps 并尝试部署。
我得到错误:
"The term 'Get-AzureRmResourceGroup' is not recognized as the name of a cmdlet, function, script file..."
我接下来尝试通过 PS C:\WINDOWS\system32> Install-Module AzureRM 重新安装 RM
ackageManagement\Install-Package : The following commands are already available on this syste
m:'Login-AzAccount,Logout-AzAccount,Resolve-Error,Send-Feedback'. This module 'AzureRM.profile
' may override the existing commands. If you still want to install this module 'AzureRM.profil
e', use -AllowClobber parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPac
kage) [Install-Package], Exception
+ FullyQualifiedErrorId : CommandAlreadyAvailable,Validate-ModuleCommandAlreadyAvailable,
Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
【问题讨论】:
-
你的意思是你使用powershell来部署逻辑应用吗?为什么不使用
Publish按钮? -
VS好像缺少RM
标签: visual-studio powershell azure-logic-apps