I'm following this tutorial to install Azure PowerShell. And, on step 2 of the tutorial I'm getting the following error when I run the following command specified in the tutorial:

PS C:\Windows\system32> Install-Module AzureRM -AllowClobber

Install-Module : A parameter cannot be found that matches parameter name 'AllowClobber'. At line:1 char:24 + Install-Module AzureRM -AllowClobber + ~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Install-Module], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Install-Module

  • What tutorial? Did you forget to send a link? Nov 6 '17 at 23:49
  • -AllowClobber is used during “import” not “install.” There’s two separate commands. Nov 6 '17 at 23:50
  • @Appleoddity I've added the link to the Microsoft tutorial. See if that can help you sharing your thoughts. Thank you for pointing out that I forgot to adding the link.
    – nam
    Nov 7 '17 at 15:20
  • You can forego using the -allowclobber parameter. It's not important. But, you probably are not running the newest version of powershell: microsoft.com/en-us/download/details.aspx?id=54616 Nov 7 '17 at 17:34

We can download this MSI package to install it.

Here is the Azure PowerShell version 4.4.1, please download it and install it.

By the way, we can use this command to install it.

Install-Module -Name AzureRM

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.