How to update the Azure PowerShell

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.


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.


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.


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


Installing the Microsoft Azure PowerShell version..

In order to download the new version, access this link and from the list (you can always search a specific component), click on Add and then Install.


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


The final page will be similar to the one below.


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