Install AzureRM PowerShell

Above, we have discussed how to install the Az PowerShell module. Now let’s discuss How to Install AzureRM PowerShell.

Install AzureRM PowerShell Module

Follow the below steps to install the AzureRM module.

1. Open the PowerShell ISE using the Run as Administrator mode.

install azurerm

2. Run the below PowerShell cmdlet to ensure the PowerShell Get-Module is installed on your local machine.

PS C:\WINDOWS\system32> Get-Module PowerShellGet -list | Select-Object Name,Version,Path
how to install az module in powershell

3. To install the AzureRM PowerShell module, run the below PowerShell cmdlet

PS C:\WINDOWS\system32> Install-Module -Name AzureRM
install azure module in powershell

You can also specify the version of the PowerShell AzureRM module. You can use the below PowerShell cmdlet for the same.

PS C:\WINDOWS\system32> Install-Module -Name AzureRM -RequiredVersion 2.3.0
install azure powershell module

You can also use the below PowerShell cmdlet to install the AzureRM module

Install-Module AzureRM -AllowClobber
azure powershell download

Once you execute the above PowerShell cmdlet, click on the Yes to All button to confirm the installation of the AzureRM module.

After you click on the Yes to All button, it will start the installation of the AzureRM module, as shown below

download azure powershell

Now, to make sure that the AzureRM module is installed successfully, you can run the below PowerShell cmdlet

Get-InstalledModule 
powershell azure module

Check out: What is Azure Cloud Shell and How to access Azure Cloud Shell

Conclusion

This article discussed how to install AzureRM module in PowerShell. Thanks for reading this article !!!