本文介绍了奇怪的错误-“术语'Get-Credentials'未被识别为cmdlet的名称".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试执行
$cred = Get-Credential
但是得到:
"Get-Credentials"一词未被识别为cmdlet,函数的名称,
脚本文件或可运行的程序.检查名称的拼写或是否包含路径
已包含在内,请验证路径正确无误,然后重试.
The term 'Get-Credentials' 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.
此命令可使用Powershell v4:
Powershell v4 is available per this cmd:
我做错了什么?
推荐答案
https://support.microsoft.com/zh-cn/help/2669552/-the-term-cmdlet-name-is-not-recognized-error-when-you-try-to-run-azur
https://support.microsoft.com/en-us/help/2669552/-the-term-cmdlet-name-is-not-recognized-error-when-you-try-to-run-azur
这篇关于奇怪的错误-“术语'Get-Credentials'未被识别为cmdlet的名称".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!