Skip to main content

2026 年 7 月 20 日

准备客户端

为 PowerShell 部署准备 Windows 或 Ubuntu 客户端。

步骤

  1. 使用管理权限打开 PowerShell 命令窗口。

  2. 运行命令。

    版本命令
    PowerShell 5
    Install-Module -Name AzureRM -Force
    PowerShell 7
    Install-Module -Name Az -Force
  3. 要登录 Azure 环境,请运行相应命令。

    版本命令
    PowerShell 5
    connect-AzurermAccount
    PowerShell 7
    connect-AzAccount

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…