查看 Azure PowerShell

已完成

Azure PowerShell 是可添加到 Windows PowerShell 或 PowerShell Core 的模块,可用于连接 Azure 订阅并管理资源。 它提供了一组 cmdlet,可用于直接从 PowerShell 命令行托管和管理 Azure 资源。 Azure PowerShell 使与 Azure 的交互变得更加容易,还提供了强大的自动化功能。 Azure PowerShell 使用 .NET Standard 编写,可与 Windows 上的 PowerShell 5.1 和所有平台上的 PowerShell 7.0.6 LTS、PowerShell 7.1.3 或更高版本配合使用。

Azure PowerShell 需通过 PowerShell 才能运行。 PowerShell 提供 shell 窗口和命令解析等服务。 Azure PowerShell 模块添加了特定于 Azure 的命令。

若要生成使用 Azure 资源管理器模型的自动化工具,应使用 Azure PowerShell。 可以借助 Azure Cloud Shell 在浏览器中使用它,或者将它安装在本地 Windows、Mac 或 Linux 计算机上。 对于这两种方式,均有两种模式可供选择。 可在交互模式下使用 Azure PowerShell,一次手动发出一个命令;也可在脚本模式下使用,运行包含多个命令的脚本。