Forum Discussion

Rick Segal's avatar
Rick Segal
Brass Contributor
Dec 21, 2020

Error loading exchangeonlinemanagement

Greetings,

I'm trying to use Exchange PowerShell. I've loaded powershell ver 7.1 with no problems on a Windows 10 machine.

 

When I use the command Import-Module, I get the error shown in the screen grab.  Any help for this newbie would be gratefully appreciated.

Error message

 

 Thank you in advance

  • farismalaeb's avatar
    farismalaeb
    Steel Contributor

    Rick Segal

    Hi

    what is the output of the following 

    $env:PSModulePath.Split(";") | foreach {Get-ChildItem -Path $_ -Directory | where {$_.name -like "ExchangeOnline*"}}

    it should not be empty, if so, you need to install ExchangeManagementModule

    • Rick Segal's avatar
      Rick Segal
      Brass Contributor

      farismalaeb 

      Thanks.  I got it working.  I didn't see an error in the management module loading.

      All good now.

       

      Thank you.

Resources