Azure PowerShell is the product name for the collection of official Microsoft PowerShell modules for managing Azure resources. It requires PowerShell, a command-line shell and scripting language.
You can use Azure PowerShell interactively by running commands from PowerShell or creating and executing scripts that consist of multiple commands.
The Az PowerShell moduleThe current version of Azure PowerShell is the Az PowerShell module. It's the recommended PowerShell module for managing Azure resources with PowerShell on all platforms including Windows, Linux, and macOS. It includes thousands of commands that control almost every aspect of Azure. The Az PowerShell module is cross-platform.
Note
PowerShell 7 or higher is the recommended version of PowerShell for use with the Az PowerShell module. It's also compatible with Windows PowerShell 5.1.
There are a few different options for using the Az PowerShell module:
Azure PowerShell supports several authentication methods. For detailed information about authenticating to Azure from the Az PowerShell module, see Sign into Azure from Azure PowerShell.
Module DesignThe Az PowerShell module is a wrapper module for Azure service-related PowerShell modules, usually one module per Azure service, such as Az.Network for Azure networking services and Az.Aks for Azure Kubernetes Service.
The cmdlets in the Az PowerShell module make REST calls to the Azure Resource Manager API. Breaking changes in the Az PowerShell module are limited to twice a year. Many breaking changes at the API level are handled within the cmdlets to prevent the perception of a breaking change.
The Az PowerShell module contains cmdlets for performing both control plane and data plane operations in Azure. You use the control plane to manage resources in your subscription. You use the data plane to control capabilities exposed by your instance of a resource type. For more information, see Azure control plane and data plane.
Output ObjectsThe cmdlets in the Az PowerShell module produce .NET objects. As with any PowerShell command that produces output, the cmdlets in the Az PowerShell module can be piped to the Get-Member
cmdlet to determine what type of object is produced, along with a list of the available properties and methods. For more information, see Query output of Azure PowerShell and Format Azure PowerShell cmdlet output.
The AzPreview PowerShell module includes all generally available (GA) modules from the Az PowerShell module and all preview modules for managing Azure resources. It isn't recommended for use in production environments since preview modules don't adhere to breaking change policies.
The AzPreview module is always the same version and is released at the same time as the Az PowerShell module.
The AzureRM PowerShell moduleWhile you might find examples online that use the AzureRM PowerShell module, it's the previous generation of Azure PowerShell. It's deprecated, no longer maintained or supported, and not recommended. Commands in the AzureRM PowerShell module use the *-AzureRM*
format. For more information, see Overview of the AzureRM PowerShell module.
You might also encounter a version of Azure PowerShell named the Azure PowerShell module. This module is for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. It isn't recommended for creating new resources as ASM is scheduled for retirement. For more information, see Overview of the Azure PowerShell Service Management module.
These products are used to manage Azure resources but aren't part of the Azure PowerShell collective product. They should never be described using the "Azure PowerShell" collective name.
Guidelines
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4