If you are like me that like to have all the tools on your desktop/laptop, special the Azure PowerShell module, now your live is way easier. Not long time ago, you had to download the Azure PowerShell module through the Web Platform. But now, there a simpler way.

I found this when I need to replace my Surface Pro. Through PowerShellGet module, all the modules related to Azure are on GitHub, so it is way simpler to get always the most update version of the cmdlets to manage Azure. The PowerShellGet comes on Windows 10. To verify if you are running the most updated version, run the following cmdlet:

Get-Module PowerShellGet -list | Select-Object Name,Versio__n,Path

You should get an output like this:

To install all the Azure Resource Manager modules, just follow the steps and you will all the magic happens.

  1. Open an PowerShell session with elevated privileges (Administrator mode)

Image1

  1. Run the following command
    Install-Module AzureRM -AllowClobber_**
    

    Image2

Note: by default, PowerShell Gallery is configured as untrusted repository, so you have trust in this repository to be able to install the Azure RM module.

  1. Answer Yes or Yes to All on the output of the command to be able to continue the installation

Imag3

  1. Just watch the progress bar finishes

Image4

  1. Import the Azure RM module, by running the command
    Import-Module AzureRM
    

    Imag5

To verify if the install was successful, you can use the following command:

Get-Module AzureRM -list | Select-Object Name,Version,Path

Image6

Cheers,

Marcos Nogueira
Azure MVP
azurecentric.com
Twitter: @mdnoga