Home/PowerShell/Import-Module : The specified module ‘ServerManager’ was not loaded because no valid module file was found in any module directory

Import-Module : The specified module ‘ServerManager’ was not loaded because no valid module file was found in any module directory

Error: Import-Module : The specified module ‘ServerManager’ was not loaded because no valid module file was found in any module directory.

While importing a module you may receive an error message :

Reason and Resoultion

This error happens when you are using a 64 bit version of powershell/powershell ISE, and trying to import a 32 bit module or you are using a 32 bit version of powershell/Powershell ISE, and trying to import a 64 bit module.

Note: This type of error is possible on multiple modules, not only servermanager .

 

What do you think?

I hope you have idea of how to resolve “The specified module ‘ServerManager’ was not loaded because no valid module file was found in any module directory. I would like to have feedback from my posts readers. Your valuable feedback, question, or comments about this article are always welcome.

Leave a Reply