windows server 2008 – Import-Module : The specified module activedirectory was not loaded because no valid module file was found in any module directory

windows server 2008 – Import-Module : The specified module activedirectory was not loaded because no valid module file was found in any module directory

AD Powershell module should be listed under installed Features. See image:

AD.

For non-servers this requires Remote Server Administration Tools for Windows __

windows server 2008 – Import-Module : The specified module activedirectory was not loaded because no valid module file was found in any module directory

The ActiveDirectory module for powershell can be installed by adding the RSAT-AD-Powershell feature.

In an elevated powershell window:

Add-WindowsFeature RSAT-AD-PowerShell

or

Enable-WindowsOptionalFeature -FeatureName ActiveDirectory-Powershell -Online -All

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *