Installing Azure PowerShell module
Installing Azure PowerShell from the PowerShell Gallery is the preferred method of installation.
To install Azure PowerShell module
- You should have PowerShellGet module installed on you system.
https://www.microsoft.com/en-us/download/details.aspx?id=51451
- You can verify if PowerShellGet module is properly installed on your system by executing the following command:
Get-Module PowerShellGet -list | Select-Object Name,Version,Path
If PowerShellGet module is properly installed on your system, you get the output of the above command similar to the following:
PowerShellGet 1.0.0.1 C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PowerShellGet.psd1
- Once PowerShellGet module gets installed on your system, Install the Azure Resource Manager modules by running the following command as an administrator:
Install-Module -Name Az
- You can check if Azure Resource Manager is property installed by running any one of the following commands:
Add-AzAccount
Get-AzResourceGroup
See Deploying the virtual appliances in AWS through AWS Marketplace.