Close

PowerShell – Active Directory

Active Directory is a type of LDAP.

Announcement

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

http://blogs.msdn.com/b/rkramesh/archive/2012/01/17/how-to-add-active-directory-module-in-powershell-in-windows-7.aspx

http://stackoverflow.com/questions/16247552/easy-way-to-test-an-ldap-users-credentials