0

I have windows 10 and also have Windows PowerShell which I am accessing via using as administrator. I want to use Windows PowerShell for Azure administration currently the version is 5.1 ..I am facing issues first is I am unable to run Install-Module AzureRM as its giving me an error Get-**

PackageProvider : Unable to download from URI 'https://az818661.vo.msecnd.net/providers/nuget-anycpu-2.8.5.127.exe. [

**enter image description here]1

5
  • I recommend you to update to Windows PowerShell 5.1 and use the new Az module, the AzureRm was deprecated, although it may be not related to the error, but it is possible to solve this error by the way. Commented Sep 3, 2019 at 9:07
  • I went on this link but it says PS 5.1 Installed Commented Sep 3, 2019 at 9:30
  • by the way should I use azure cloudshell and use az cmdlet ..what is the professional way to use cmdlet in azure. Commented Sep 3, 2019 at 9:31
  • Q1.But your screenshot shows 5.0, have a try to uninstall it and install again? Or could you check with $PSVersionTable.PSVersion? Q2.It depends on your requirement, if it is not necessary to run it locally, cloudshell is convenient. Commented Sep 3, 2019 at 9:37
  • @user342944 can you solve your issue by the post below? Commented Sep 24, 2019 at 8:27

2 Answers 2

1

You can try to use msi installation as per this article.

The resource of .msi file is located here. Nav to this page -> scroll down to the bottom -> download the x64 or x86 .msi file as per your need.

enter image description here

Note that the azureRM module will not be supported in the future, it's recommended to install the latest azure powershell Az module.

Sign up to request clarification or add additional context in comments.

Comments

0

Install the PowerShell by msi from GitHub PowerShell Github

PowerShell Github

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.