From time to time it may be necessary to execute Powershell scripts against your Azure subscription for functions that are not readily available via the Azure Portal. This guide will outline the process to install Azure Powershell. Azure Powershell simply refers to modules and cmdlets that are imported to run within the Powershell application.
Step-by-step guide
- Install Powershell
- Import/install Azure Powershell packages
Requirements
Must have Windows Powershell v3.0 or compatible version installed.
By default, Windows O/S is pre-packaged with Powershell. If you are running Windows proceed to step 2. If your Powershell version is incompatible with the Azure modules, you will be prompted to update the default installed version automatically.
1. Install Azure Powershell
Install the latest version from Git here. Installation instructions for various O/S systems are on the landing page.
2. Import/Install Azure Powershell packages
For Windows:
Launch Powershell with Administrative privileges and run the following command:
PS> Install-Module AzureRM
Related articles