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

后端 未结 10 930
刺人心
刺人心 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:32

    Since you are using the lower version of PS:

    What you can do in your case is you first download the module in your local folder.

    Then, there will be a .psm1 file under that folder for this module.

    You just

    import-Module "Path of the file.psm1"

    Here is the link to download the Azure Module: Azure Powershell

    This will do your work.

提交回复
热议问题