How to update the Azure PowerShell

Share this:

Microsoft Azure is dynamic and new products and services are being released as we speak, and the same goes for the management tools. In this Tutorial we are going over the process to upgrade the Azure PowerShell to the latest version available.

Solution


When you need to update? Well, you should do that as part of the best practices, however we know that we will notice when we really need it. The good thing is that some operations will give you that information. In the example below I was trying to use the cmdlet Install-AzureRM and the error message displayed is saying that the version is incompatible.

image[11]

Removing the existent Azure PowerShell…

The solution is easy, first open Programs and Features on the workstation, and check the version of Microsoft Azure PowerShell (in our case is the October 2015 version) and remove it.

image[14]

The installation process is straight forward, just click yes to confirm the removal of the component.

image[17]

Installing the Microsoft Azure PowerShell version..

In order to download the new version, access this link http://go.microsoft.com/?linkid=9811175&clcid=0x409 and from the list (you can always search a specific component), click on Add and then Install.

image[23]

The wizard will start, and we need to follow the wizard using default values.

image[26]

The final page will be similar to the one below.

image[29]

After that, having the new version we can go back and run the cmdlets that originated the issue.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

How to force the Synchronization using AADSync How to force the synchronization using AADSync. When using DirSync tool there is a PowerShell cmdlet to perform such task, however using the AADSync t...
Microsoft Federation Services – The Series Hello folks, Last week we finished up a series about Federation Services where we went over the process to build the ADFS on your on-premises environ...
How to delete a Backup Vault in Azure The Backup Vault is found in the Recovery Services item and it is the repository for all protected data from Windows Backup, DPM or ASR (Azure Site Re...
How to assign a public name to your Microsoft Azur... How to assign a public name to your website hosted at Microsoft Azure. Solution In order to assign a public name to a Microsoft Azure website,...