Error: Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet

0 votes

When I was trying to install Azure using Install-Module Azure in PowerShell, got the following error:

PS C:\Windows\system32> Install-Module Azure
Install-Module : The term 'Install-Module' 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 corre
ct and try again.
At line:1 char:1
+ Install-Module Azure
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Why is PS not recognizing the basic Install module? Without this I can't even install Azure. What should I do?

Jun 20, 2018 in Azure by cloudie_crank
• 1,610 points
1,632 views

1 answer to this question.

0 votes

Since you are using the lower version of PS:

What you can do in your case is you first download the module in your local folder.

Then, there will be a .psm1 file under that folder for this module.

You just

import-Module "Path of the file.psm1"

Here is the link to download the Azure Module: Azure Powershell

This will do your work.

answered Jun 20, 2018 by null_void
• 3,220 points

Related Questions In Azure

0 votes
1 answer

Where is the storage account name and access keys on the portal?

In the image under the connection string ...READ MORE

answered May 21, 2018 in Azure by null_void
• 3,220 points
24 views
0 votes
2 answers

In Azure powershell Select-AzureSubscription command fetching error: the subscription name doesn't exist

The problem you're having is that the ...READ MORE

answered Aug 16, 2018 in Azure by Priyaj
• 56,960 points
1,897 views
0 votes
1 answer

Is there a way to get ERROR details on Azure website?

You have two options: First, you can turn ...READ MORE

answered May 25, 2018 in Azure by club_seesharp
• 3,450 points
224 views
0 votes
1 answer

How to get the list of names of Azure blob files in a container?

We can get some additional info like Size, ...READ MORE

answered Jun 27, 2018 in Azure by club_seesharp
• 3,450 points
1,904 views
0 votes
1 answer

Cannot delete blob: There is currently a lease on the blob and no lease ID was specified in the request

Alternatively, you can just kill the lease ...READ MORE

answered Sep 24, 2018 in Azure by club_seesharp
• 3,450 points
534 views
0 votes
1 answer
0 votes
1 answer

Want to make index.html as the default document on my static website in a CDN.

You can use Premium CDN. If you purchased the ...READ MORE

answered Jul 2 in Azure by Perry
• 17,090 points
33 views
0 votes
0 answers

What is the use of cloud service configuration file (.cscfg) in azure?

What is the use of cloud service ...READ MORE

Sep 30 in Azure by Pratibha
• 3,680 points
39 views
0 votes
1 answer

Why as a co-administrator of a subscription am I unable to edit the Active Directory?

The answer was that I needed to ...READ MORE

answered Aug 22, 2018 in Azure by null_void
• 3,220 points
28 views
0 votes
1 answer

Error: The subscription is not registered to use namespace 'Microsoft.DataFactory

In Azure, for each functionality there's a ...READ MORE

answered Aug 24, 2018 in Azure by null_void
• 3,220 points
95 views