Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet

后端 未结 10 876
刺人心
刺人心 2020-12-14 05:50

I was trying to install Azure using Install-Module Azure in PowerShell. I got the following error:

PS C:\\Windows\\system32> Install-Module A         


        
10条回答
  •  有刺的猬
    2020-12-14 06:39

    Actually my solution to this problem was much simpler, because I already had the latest version of PowerShell and is still didn't recognize Install-Module command. What fixed the "issue" for me was just typing the command manually, since originally I tried copying the snippet from a website and apparently there was some issue with the formatting when copy&pasting, so when I typed the command manually it installed the module without any problem.

提交回复
热议问题