The specified module ‘active directory’ was not loaded because no valid module file was found!

April 29, 2019
By admin

Term not recognized as the name of a cmdlet, function, script file, or operable program.

In Power Shell, modules are collections of cmdlets that extend Power Shell’s functionality.In most cases, the cmdlets contained within a module are related to a specific product or to a specific Windows role or feature.

Type this command Get-Module on power-shell window ( It will display list of the modules that are loaded).The Get-Module cmdlet shows you the names of each module, and the cmdlets that the module contains.

Get-VM cmdlet is native to Windows, even though the corresponding module is not loaded by default,it displays the names of the Hyper-V virtual machines that exist on the server.

Get-Module: It display the module type,Version,Name and Exported Commands.

For the above error we need to add the Window Features from Server Manager. Below are the screen capture Images how to configure.

Leave a Reply