【问题标题】:Get-Command : The term 'Get-AzStorageBlobContent' is not recognized as the name of a cmdlet, function, script file, or operable programGet-Command:术语“Get-AzStorageBlobContent”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称
【发布时间】:2019-07-09 05:44:50
【问题描述】:

来自my question about installing Azure Powershell 我能够安装 Azure Powershell 5.1

但是当我尝试运行时

Get-Command Get-AzStorageBlobContent

我明白了

Get-Command : The term 'Get-AzStorageBlobContent' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, 
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-Command Get-AzStorageBlobContent
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-AzStorageBlobContent:String) [Get-Command], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

我可以看到 ISE 右侧面板中列出的命令并获得智能帮助

链接135170 takes me here

Get-ExecutionPolicy

返回受限

【问题讨论】:

标签: powershell azure-storage azure-powershell


【解决方案1】:

您可以以管理员身份运行set-executionpolicy remotesigned 来解决此问题。

见:https://www.faqforge.com/windows/windows-powershell-running-scripts-is-disabled-on-this-system/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-07-30
    • 1970-01-01
    • 2021-11-01
    • 2021-05-23
    • 2020-11-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多