当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

作者:精品下载站 日期:2024-12-14 09:59:17 浏览:14 分类:玩电脑

在 Windows 10 中安装 Azure PowerShell 模块


本文介绍了在 Windows 10 中安装 Azure PowerShell 模块的步骤。如果您正在使用 Azure,您就会知道大多数任务都是使用 Azure 门户完成的。也可以使用 PowerShell 管理相同的任务。安装 Azure PowerShell 模块时,它会添加 cmdlet,你可以通过这些 cmdlet 使用 PowerShell 管理 Azure。

Azure 服务主要可以通过 PowerShell 或 Azure 门户进行管理和访问。通过 Azure 门户支持 PowerShell 自动化。在这篇文章中,我们将看到在 Windows 10 中安装 Azure PowerShell 模块的步骤。如果您使用的是 Windows 7 或 Windows 8.1,步骤是相同的。

如何在 Windows 10 中安装 Azure PowerShell 模块

安装 Azure PowerShell 模块有多种方法。您可以选择下面列出的任何方法:

  1. 来自 WebPI 的 Azure PowerShell。下载 Azure PowerShell 并开始安装。
  2. 使用 PowerShell 库。我们将使用这种我认为是最简单的方法。
  3. 来自 GitHub 的 MSI 安装程序。单击此链接下载 msi 安装程序文件。

如上所述,我们将从 PowerShell 库安装 Azure PowerShell。确保您的计算机安装了 Windows Management Framework 5。接下来,打开提升的 Windows PowerShell 或 PowerShell 集成脚本环境 (ISE)。按显示的顺序键入命令。

a) Install-Module AzureRm - 此命令从 PowerShell 库安装 Azure 资源管理器模块。当您键入命令时,它会询问您是否要从不受信任的存储库安装模块。输入 A 并按 Enter 键。

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

[玩转系统] 在 Windows 10 中安装 Azure PowerShell 模块

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯