Import-Module : The specified module 'C:\Users\Administrator\Documents\PowerShell\Modules\dbatools\1.1.145\bin\dbatools.dll' was not loaded because no valid module file was found in any module directory. #8746
Unanswered
nyalpellyomkar07
asked this question in
General
Replies: 1 comment
-
hello @nyalpellyomkar07 can you please run this, restart powershell, and see how it works for you
this is prerelease2 of dbatools 2.0, which contains a ton of fixes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am working with Powershell Core 6 and when I try to import-module, it fails to load the module stating no valid module file was found in any module directory.
The Install-Module commands works fine, but importing fails.
When I import the module in Windows Powershell (default) it works fine and I am able to use the functions within dbatools as well. But when trying to use with Powershell Core 6 it fails. Can you please provide steps on how I should be importing or fix the above erorr that I am getting.
Beta Was this translation helpful? Give feedback.
All reactions