你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

What's new in Azure PowerShell

This page highlights new features, articles, and learning paths for Azure PowerShell.

Protect sensitive information

Azure PowerShell displays a warning message by default beginning with Az version 12.0.0 to help you protect sensitive information when it identifies a potential secret in the output of a command. For more information, see Protect secrets in Azure PowerShell.

Sign in with Web Account Manager (WAM)

Beginning with Az PowerShell module version 12.0.0, Azure PowerShell's default login authentication method for Windows-based systems is Web Account Manager (WAM). For more information, see Web Account Manager (WAM).

New login experience

Beginning with Az PowerShell module version 12.0.0, if you have access to multiple subscriptions, you're prompted to select an Azure subscription to login with. For more information, see Login experience.

Support lifecycle

Beginning with Az PowerShell module version 12.0.0, Azure PowerShell ships two types of generally available releases. Customers can choose Standard Term Support (STS) or Long Term Support (LTS) releases. The quality of all releases is the same. The only difference is the length of support. For more information, see Support of releases.

Upgrade notifications

In-tool notifications for Azure PowerShell version upgrades are a feature released in Az 10.3.0 and enabled by default in Az 11.0.0. When a new version of Azure PowerShell is available, an upgrade notification is displayed in your interactive PowerShell session. For more information, see Upgrade notifications.

General availability of modules

Az.ElasticSan

Azure PowerShell version 11.3.0 introduced the general availability for module Az.ElasticSan. For a list of commands included in the Az.ElasticSan PowerShell module, see Az.ElasticSan.

Az.Nginx

Azure PowerShell version 11.3.0 introduced the general availability for module Az.Nginx. For a list of commands included in the Az.Nginx PowerShell module, see Az.Nginx.

Az.StackHCIVM

Azure PowerShell version 11.3.0 introduced the general availability for module Az.StackHCIVM. For a list of commands included in the Az.StackHCIVM PowerShell module, see Az.StackHCIVM.

Az.App

Azure PowerShell version 11.0.0 introduced the general availability for module Az.App. For a list of commands included in the Az.App PowerShell module, see Az.app.

Az.DevCenter

Azure PowerShell version 11.0.0 introduced the general availability for module Az.DevCenter. For a list of commands included in the Az.DevCenter PowerShell module, see Az.DevCenter.

Az.NetworkCloud

Azure PowerShell version 11.0.0 introduced the general availability for module Az.NetworkCloud. For a list of commands included in the Az.NetworkCloud PowerShell module, see Az.NetworkCloud.

Removed outdated Linux image aliases

Removed unversioned and outdated Linux image aliases of CentOS, Debian, RHEL, and UbuntuLTS in Az 11.0.0 (Az.Compute 7.0.0). Use the aliases CentOS85Gen2, Debian11, RHELRaw8LVMGen2, Ubuntu2204 instead.

Deprecation of AzureRM

Because Az PowerShell modules now have all the capabilities of AzureRM PowerShell modules and more, we've deprecated the AzureRM PowerShell modules as of February 29, 2024.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

To avoid service interruptions, update your scripts that use AzureRM PowerShell modules to use Az PowerShell modules. To automatically update your scripts, follow the quickstart guide.