Get-Command:术语"Get-AzStorageBlobContent"不被识别为cmdlet,函数,脚本文件或可运行程序的名称 [英] Get-Command : The term 'Get-AzStorageBlobContent' is not recognized as the name of a cmdlet, function, script file, or operable program
本文介绍了Get-Command:术语"Get-AzStorageBlobContent"不被识别为cmdlet,函数,脚本文件或可运行程序的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
来自我有关安装的问题Azure Powershell 我能够安装Azure Powershell 5.1
From my question about installing Azure Powershell I was able to install 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右面板中列出的命令,并且我获得了智能帮助
I can see the commands listed in the right panel of ISE and I get intellisence help
链接 135170带我到这里
Get-ExecutionPolicy
返回受限
推荐答案
您可以以管理员身份运行set-executionpolicy remotesigned
来解决此问题.
You could run set-executionpolicy remotesigned
as administrator to fix the issue.
请参阅: https://www.faqforge.com/windows/windows-powershell-running-scripts-is-disabled-on-this-system/
这篇关于Get-Command:术语"Get-AzStorageBlobContent"不被识别为cmdlet,函数,脚本文件或可运行程序的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文