Overview of Azure PowerShell
Azure PowerShell provides a set of cmdlets that use the Azure Resource Manager model for managing your Azure resources. Azure PowerShell uses .NET Standard, making it available for Windows, macOS, and Linux. Azure PowerShell is also available on Azure Cloud Shell.
About the new Az module
This documentation describes the new Az module for Azure PowerShell. This new module is written from the ground up in .NET Standard. Using .NET Standard allows Azure PowerShell to run under PowerShell 5.1 on Windows or PowerShell Core 6.x and later on any platform. The Az module is now the intended way to interact with Azure through PowerShell. AzureRM will continue to get bug fixes, but no longer receive new features.
Learn the full details about the new module, including how commands have been renamed and the maintenance plans for AzureRM, in the Introducing the Azure PowerShell Az module. If you want to get started with using the new module right away, see Migrate from AzureRM to Az.
The AzureRM documentation is also available.
While the Azure documentation is being updated to reflect the new module cmdlet names, articles may still use
the AzureRM commands. After installing the Az module, it's recommended that you enable the AzureRM cmdlet aliases
Enable-AzureRmAlias. See the Migrate from AzureRM to Az article for more
Run or install
You can install Azure PowerShell on PowerShell 5.1 or higher on Windows, PowerShell Core 6.x and later on any platform, or run in Azure Cloud Shell.
- To run in your browser with Azure Cloud Shell, see Quickstart for PowerShell in Azure Cloud Shell.
- To install Azure PowerShell on your system, see Install Azure PowerShell.
For information about the latest Azure PowerShell release, see the release notes.
Read the Get Started with Azure PowerShell article to learn the Azure PowerShell basics. If you're not familiar with PowerShell, an introduction might be helpful:
- Install PowerShell
- Scripting with PowerShell
- PowerShell Basics: (Part 1) Getting Started with PowerShell
- Microsoft Virtual Academy's Getting Started with PowerShell Jumpstart
The following samples can help you with some common uses of Azure:
Build your skills with Microsoft Learn
Other Azure PowerShell modules
Send feedback about: