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

Checking the Boot Diagnostics in Microsoft Azure It can be a brand new server or an existent one running on Microsoft Azure, after a restart, the VM shows up as running on the portal, but for some re...
Using Diagram feature in Azure Portal How to use the diagram feature in the Microsoft Azure Portal (Azure Resource Manager). Solution It reminds me of System Center Operations Manager, ...
How to update Group Policies admx templates to Win... In this Tutorial we are going over the process to update the Group Policies files (admx) to support the latest version of Windows 10 including Microso...
Exchange Server 2013 offsite protection using DPM ... Hello folks, My third article at MSExchange.org going over the offsite protection of Exchange Server 2013 using DPM and Microsoft Azure is out. Check ...