Powershell 7 preview and load on prem AD module

%3CLINGO-SUB%20id%3D%22lingo-sub-885984%22%20slang%3D%22en-US%22%3EPowershell%207%20preview%20and%20load%20on%20prem%20AD%20module%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-885984%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20download%20PowerShell%20core%207%20preview%207%20on%20Linux%20CentOS%207%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20try%20import-module%20activedirectory%26nbsp%3B%20but%20get%20error%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%3CSPAN%20class%3D%22s1%22%3EImport-Module%20%3A%20The%20specified%20module%20'ActiveDirectory'%20was%20not%20loaded%20because%20no%20valid%20module%20file%20was%20found%20in%20any%20module%20directory.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-885984%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886674%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%207%20preview%20and%20load%20on%20prem%20AD%20module%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886674%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20AD%20module%20is%20still%20only%20supported%20on%20Windows%20afaik%2C%20or%20at%20least%20that%20was%20the%20status%20when%20I%20last%20checked.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

I just download PowerShell core 7 preview 7 on Linux CentOS 7 

 

I try import-module activedirectory  but get error 

Import-Module : The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory.

1 Reply
Highlighted

The AD module is still only supported on Windows afaik, or at least that was the status when I last checked.