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

Hyper-V 2012 Hotfixes: Where I can find it and how... After my session at TechEd about Best Practices for Virtualizing and Managing Microsoft SharePoint 2013 with Microsoft System Center 2012 R2 and Windo...
Using Twitter Application with Azure Active Direct... Using Azure Active Directory applications to integrate with external applications. A good example is the social accounts used by companies where one o...
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...
How to modify the DNS Server settings in Microsoft... If you are planning to deploy Domain Controllers in Microsoft Azure, the first step will be the DNS Server configuration pointing out to the local Dom...