Can't see or import any Azure module!

Welcome Forums General PowerShell Q&A Can't see or import any Azure module!

This topic contains 2 replies, has 3 voices, and was last updated by

4 years, 1 month ago.

  • Author
  • #23382

    Topics: 1
    Replies: 0
    Points: 0
    Rank: Member

    I am running Windows 7 Pro. I successfully installed PowerShell 4.0. I want to start experimenting with Azure commandlets. However, I can see nor import any of the Azure modules even when I run > Get-Module -LisstAvailable , which should display all modules available to me. How can I view the Azure modules?

    Here is may screen capture.

  • #23385

    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    The modules don't come with Windows. Did you download and install them?

  • #23395

    Topics: 1
    Replies: 92
    Points: 2
    Rank: Member

    Here is the link for installing the Azure module:

    Also, if you have already installed this, it won't automatically be added to your module path. For me the installer dropped it at "${env:ProgramFiles(x86)}\Microsoft SDKs\Azure\powershell\ServiceManagement\Azure\Azure.psd1". You'll either need to specify the full path to the module manifest file or add it to your path. I chose the second option and add it to my module path in my Powershell profile:

        'x86'   {$AzureModulePath = "$env:ProgramFiles\Microsoft SDKs\Azure\powershell\ServiceManagement\Azure\Azure.psd1"}
        'AMD64' {$AzureModulePath = "${env:ProgramFiles(x86)}\Microsoft SDKs\Azure\powershell\ServiceManagement\Azure\Azure.psd1"} 
    $Env:PSModulePath += ";$AzureModulePath"

    Then you can just run:

    Import-Module Azure

The topic ‘Can't see or import any Azure module!’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort