Friday, January 14, 2011

Add users to an AD group by distinguished name

I have a multi-forest AD environment with trust relationships between domains in different forests. (AD level 2003)

I have a list of distinguishednames of users that I want to add to a local group in one of those domains.

How can I add a user to a group from the command line using the users DN? I can easily automate this with such a command and avoid having to do several hundred manual add commands though the GUI, but I can't find the command to use.

0 comments:

Post a Comment