SQL Azure - Install Module Fails with Error - SQL Authority with Pinal Dave

 2 years ago
source link: https://blog.sqlauthority.com/2021/04/05/sql-azure-install-module-fails-with-error/?utm_campaign=sql-azure-install-module-fails-with-error
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Install Module Fails with Error

SQL Azure – Install Module Fails with Error

Recently while I was working with a client who hired me to help them with Comprehensive Database Performance Health Check, told me that they need help with an error related to Install Module on SQL Azure. Let us learn how we can fix the error.

SQL Azure - Install Module Fails with Error installmodule-800x349

When I tried to run the command following command it gave me an error.

Install-Module Azure

The error is

A command with name ‘Get-AzureStorageContainerAcl’ is already available on this system. This module ‘Azure’ may override the existing commands. If you still want to install this module ‘Azure’, use -AllowClobber parameter.

Well, the best part is that the error itself is giving us an idea about how to fix the error.

I ran the command with AllowClobber and its module got installed successfully.

Install-Module Azure -AllowClobber

Well, that’s it for today. Feel free to reach out to me on Twitter if you have further questions.

Technology Online

I hope you find these Learning paths helpful. If you have a Pluralsight subscription, you can watch it for free. If you do not have a Pluralsight subscription, you can still watch the course for FREE by signing up for a trial account. Please note that you do not need any credit card.

Reference: Pinal Dave (http://blog.SQLAuthority.com)

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK