您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure PowerShell 概述Overview of Azure PowerShell

Azure PowerShell 提供一组可以使用 Azure 资源管理器模型管理 Azure 资源的 cmdlet。Azure PowerShell provides a set of cmdlets that use the Azure Resource Manager model for managing your Azure resources. 可以在浏览器中结合 Azure Cloud Shell 使用这些 cmdlet,或者将它们安装在本地计算机上并在任何 PowerShell 会话中使用。You can use it in your browser with Azure Cloud Shell, or you can install it on your local machine and use it in any PowerShell session.

使用 Cloud Shell 在浏览器中运行 Azure PowerShell,或者在自己的计算机上安装它。Use the Cloud Shell to run the Azure PowerShell in your browser, or install it on own computer. 然后阅读入门一文开始使用。Then read the Get Started article to begin using it. 有关最新版本的信息,请参阅发行说明For information about the latest release, see the release notes.

以下示例有助于了解如何使用 Azure PowerShell 执行常见方案:The following samples can help you learn how to perform common scenarios with Azure PowerShell:

备注

在 2018 年 11 月之后,将不会有新功能或 cmdlet 添加到 AzureRM 模块。After November 2018, there will be no new features or cmdlets added to the AzureRM module. AzureRM 将继续受支持并接收 bug 修复。AzureRM will continue to be supported and receive bugfixes. 新功能将提供到 Az 模块中,该模块将在同一时间到达 1.0 版。New features will be provided in the Az module, which will reach 1.0 at the same time. Az 具有与 AzureRM 的向后兼容性模式,已设计为易于切换到它。Az has a backwards compatibility mode with AzureRM, and is designed to be easy to switch to. 若要了解有关此新模块以及如何升级的详细信息,请参阅:To learn more about this new module and how to upgrade, see:

如果部署使用无法转换的经典部署模型,则可安装 Azure PowerShell 的服务管理版本。If you have deployments that use the classic deployment model that cannot be converted, you can install the Service Management version of Azure PowerShell. 有关详细信息,请参阅安装 Azure PowerShell 服务管理模块For more information, see Install the Azure PowerShell Service Management module.

了解 PowerShell 基础知识Learn PowerShell basics

如果你不熟悉 PowerShell,可以参阅 PowerShell 简介。If you're unfamiliar with PowerShell, an introduction to PowerShell may be helpful.

也可以观看此视频:PowerShell 基础知识:(第 1 部分)PowerShell 入门You can also watch this video: PowerShell Basics: (Part 1) Getting Started with PowerShell.

或者,参加 Microsoft Virtual Academy 的 PowerShell 快速入门培训。Or attend the Microsoft Virtual Academy's Getting Started with PowerShell Jumpstart.

利用 Microsoft Learn 掌握技能Build your skills with Microsoft Learn

其他 Azure PowerShell 模块Other Azure PowerShell modules