To read an Active Directory domain the Active Directory PowerShell module must be installed.


Installation (Windows Server)

To install the Active Directory PowerShell module on Windows Server install the following Windows Server feature


Remote Server Administration Tools > AD DS and AD LDS Tools > Active Directory module for Windows PowerShell.



Installation (Windows Server PowerShell)

To install the Active Directory PowerShell module on Windows Server using Windows PowerShell execute the following command.


Install-WindowsFeature "RSAT-AD-PowerShell"



Installation (Windows 10/Windows 11)

To install the Active Directory PowerShell module on Windows 10 or Windows 11 go to


Settings > Apps > Option Features > Add a feature > RSAT: Active Directory Domain Services and Lightweight Directory Services Tools