安装Windows Azure Powershell

本文将介绍如何安装Windows Azure Powershell

1.打开Azure官方链接:https://www.azure.cn/downloads/

安装Windows Azure Powershell

2.按照向导进行安装

安装Windows Azure Powershell

安装Windows Azure Powershell

安装Windows Azure Powershell

3.打开系统自带的Windows Powershell,尝试输入Azure模块有关的命令,例如:add-azure***,login-Azure***,get-azure***等等,看能否Tab键补齐,正常情况下是能补齐的,能补齐说明已经安装成功。例如:

PS C:\Users\he.liming> Add-AzureAccount

4.如果无法补齐,需要配置相应的环境变量,需要将如下环境变量配置到以下红色箭头标注的位置

环境变量:C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\Storage\

备注:可以使用命令“dir env:”查看系统的环境变量

安装Windows Azure Powershell

安装Windows Azure Powershell

5.至此Azure Powershell安装完成,可以使用如下方法查看已安装Azure Powerwshell的版本

a.在控制面板--程序--程序和功能下查看

安装Windows Azure Powershell

b.使用命令:Get-Module -ListAvailable *azure*,进行查看

安装Windows Azure Powershell

上一篇:查看linux中的TCP连接数【转】


下一篇:Poj 2503 / OpenJudge 2503 Babelfish