无法运行 Powershell 命令

无法运行 Powershell 命令

这是我第一次尝试使用 Powershell。当我运行 Powershell 脚本时,我收到以下错误消息:

PS D:\modules\setup-azure> Setup-Azure
Setup-Azure : The term 'Setup-Azure' 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
+ Setup-Azure
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Setup-Azure:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\modules\setup-azure> Setup-Azure.psm
Setup-Azure.psm : The term 'Setup-Azure.psm' 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
+ Setup-Azure.psm
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Setup-Azure.psm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\modules\setup-azure>

有人可以解释一下错误信息吗?

相关内容