PowerShell 5? Install the Remote Server Administration Tools (RSAT) package on your machine. Use the "Manage optional features" in Settings to do that.
import-module error
Prasad Muchanapally
0
Reputation points
Hi Team, Greetings of the day! Actually, I'm trying to import AD module in PowerShell using this script "Import-Module -Name ActiveDirectory", but the module has not imported reflecting with error is
Import-Module : The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory.
At line:153 char:1
+ Import-Module ActiveDirectory
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
2 answers
Sort by: Most helpful
-
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more