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:
1 2 3 | $PSVersionTable.PSVersion |
To perform the installation of the module, run PowerShell console as administrator, and then type:
1 2 3 | Install-Module -Name AzureRM |
If you want to check or verify that the module is installed, use the following command:
1 2 3 | Get-InstalledModule -Name AzureRM |
To upgrade an installed version of the Azure PowerShell module, use the following command:
1 2 3 | Update-Module -Name AzureRM |
If you want to know more about Azure PowerShell, check out this link:https://docs.microsoft.com/es-es/powershell/azure/overview?view=azurermps-6.7.0