积极答复者
有个powershell的问题,不是很清楚要发哪个区,不好意思= =

问题
-
powershell 运行 install-module 显示:
install-moudule: : 无法将“install-moudule”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果
包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ install-moudule -Name AzureAD
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (install-moudule::String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException当我运行cmd 然后再运行这个命令是,就显示: install 不是内部或外部的命令,也不是可运行的程序,或批处理文件。
所以这是怎么回事? PS 版本3.0,管理员权限运行的。
顺便问下,win8现在要怎么升级ps版本?下载下来全都不适用于你的电脑更新。
答案
-
Hi,
我这边把专门用于讨论PowerShell问题的论坛的地址发您,您可以把您的问题重新发布到那,会有PS的专家跟你进行讨论:
PS forum link:
https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=winserverpowershell
这边我就将停止对这个线程的支持,请您帮忙把回复标记为答案,方便其他的人能够快速的找到那里。
非常感谢您的理解和支持!
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact- 已标记为答案 paidaxing 2020年6月8日 1:45
全部回复
-
Hi,
我这边把专门用于讨论PowerShell问题的论坛的地址发您,您可以把您的问题重新发布到那,会有PS的专家跟你进行讨论:
PS forum link:
https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=winserverpowershell
这边我就将停止对这个线程的支持,请您帮忙把回复标记为答案,方便其他的人能够快速的找到那里。
非常感谢您的理解和支持!
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact- 已标记为答案 paidaxing 2020年6月8日 1:45
-
Hi,
>>>>+ install-moudule -Name AzureAD
请您看一下是不是命令运行错了,应该是Install-module而不是moudule
https://docs.microsoft.com/en-us/powershell/module/PowerShellGet/Install-Module?view=powershell-7
这是一个PS的命令不是CMD的命令。
至于win8如何升级PS的版本,你可以看看这里:
希望能帮助到您!
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact