无法访问由安装的Azure powershell

无法访问由安装的Azure powershell,powershell,azure,Powershell,Azure,我已经使用Microsoft Web平台安装程序5.0安装了azure powershell。 但是我找不到azure powershell。我查了病历 (x86),但找不到它。。有什么问题吗? 请尽快帮忙 先谢谢你 您应该能够在“开始”菜单中找到“Microsoft Azure PowerShell”快捷方式: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft 蔚蓝 快捷方式指向: C:\Windows\SysWOW6

我已经使用Microsoft Web平台安装程序5.0安装了azure powershell。 但是我找不到azure powershell。我查了病历 (x86),但找不到它。。有什么问题吗? 请尽快帮忙


先谢谢你

您应该能够在“开始”菜单中找到“Microsoft Azure PowerShell”快捷方式:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft 蔚蓝

快捷方式指向:

C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe-NoExit -ExecutionPolicy Bypass-文件“C:\Program Files(x86)\Microsoft SDK\Azure\PowerShell\ServiceManagement\Azure\Services\ShortcutStartup.ps1”

尝试从下载它。Powershell作为独立安装程序提供给阅读以下内容的任何人: 我经常有同样的经历。在通过Web平台安装程序安装Azure Powershell之后,我检查了“开始”菜单,结果什么都没有。在我看来,WPI只安装cmdlet,没有可执行文件。WPI将cmdlet安装在此文件夹中:C:\Program Files(x86)\Microsoft SDK\Azure\PowerShell

成功安装后重新启动计算机非常重要。如果WPI告诉您重新启动,您甚至可能需要在安装过程中重新启动,然后重新启动WPI,直到它完全完成

重新启动后,cmdlet应在正常的Powershell.exe中可用。使用以下工具检查它们是否可用:

Get-Command *Azure*

我多次对此感到沮丧,这就是为什么我写了一篇博客文章,解释通过WPI安装Azure Powershell的原因


在搜索开机启动时,我也无法看到Azure Powershell。但当我打开Windows powershell并运行命令时
Get命令*Azure*

我可以看到所有cmdlet,并且能够运行我想要的所有Azure命令。

从以下链接下载发布设置文件:

在windows powershell ISE中,运行以下命令导入发布设置文件:

Import-AzurePublishSettingsFile "D:\publish.publishsettings"
运行以下命令以获取所有订阅:

Get-AzureSubscription

因此,您可以使用windows Posershell运行Azure powershell Commandlet。

我无法访问cmdlet。。有什么问题吗?
Get-AzureSubscription