Skip to main content
Jorge Bernhardt Jorge Bernhardt
  1. Posts/

How to install the Azure PowerShell Module from PowerShell Gallery

·152 words·1 min· 100 views · 5 likes ·
Get-InstalledModule Install-Module Microsoft Microsoft Azure

The Azure portal is a good place to start and learn the existing resources in Microsoft Azure, but if you want to work with them, the Azure PowerShell module is the way. In this post, I want to show you the easy way to install the Azure PowerShell module. Azure PowerShell requires PowerShell version 5.0 or above installed on your computer. To check the version of PowerShell running on your machine, run the following command:

$PSVersionTable.PSVersion

PSversion
To install the module, run the PowerShell console as administrator, and then type:

Install-Module -Name AzureRM

Azure PowerShell Module
If you want to check or verify that the module is installed, use the following command:

Get-InstalledModule -Name AzureRM

Get-InstalledModule
To upgrade an installed version of the Azure PowerShell module, use the following command:

Update-Module -Name AzureRM

Thanks for reading my post. I hope you find it useful.

If you want to know more about Azure PowerShell, check out this link.