-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Milestone
Description
If I try to install AzureRM module (or just AzureRM.Compute) module installation fails with the error:
PackageManagement\Install-Package : A command with name 'New-AzureVMSqlServerAutoBackupConfig' is already available on
this system. This module 'AzureRM.Compute' may override the existing commands. If you still want to install this module
'AzureRM.Compute', use -AllowClobber parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1661 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
ception
+ FullyQualifiedErrorId : CommandAlreadyAvailable,Validate-ModuleCommandAlreadyAvailable,Microsoft.PowerShell.Packag
eManagement.Cmdlets.InstallPackage
When did -AllowClobber become needed for installation of Azure and AzureRM modules?
Why is ARM-based cmdlets overlapping with ASM-based cmdlet, New-AzureVMSqlServerAutoBackupConfig
(Shouldn't ARM-based cmdlet have AzureRm prefix)?