Active Directory Module for Windows PowerShell
To get the closest Domain Controller for a particular domain, the Active Directory source calls the IQService.
As a prerequisite, Active Directory module for Windows PowerShell on IQService machine must be installed and the Active Directory DS role must be installed on a machine.
To enable the Active Directory module for Windows PowerShell, complete the following:
-
Go to Server manager > Features > Remote Server Administration Tools > AD DS & LDS tools and select Active Directory module for Windows PowerShell.
To enable the Active Directory module for Windows PowerShell using PowerShell commands, complete the following:
-
Select the Windows Start button, search for PowerShell, and then select Windows PowerShell.
-
In the PowerShell console window, use the
Install-WindowsFeature
cmdlet to install the module. Specify the feature-Name
(RSAT-AD-PowerShell) and add the-IncludeAllSubFeature
parameter to add any child features. For example,Install-WindowsFeature -Name RSAT-AD-PowerShell -IncludeAllSubFeature