PowerShell – Active Directory

Active Directory is a type of LDAP.


I have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!

You can query active directory using set of powershell commands.

To do this you need to first turn on the AD windows feature. You do this on windows like this:

start -> control panel -> programs -> Program and Features -> Turn windows features on or off (left hand side column)

import the active directory module.

See Also:

Run LDAP query on Linux