add or remove members of a distribution list using command line

At one point I had a command that I could run from my command line prompt on XP that would allow me to add or remove members of a distribution list in Active Directory/Exchange 2003.  I needed this because the distribution list was not visible in the GAL.  Any help would be appreciated.
Who is Participating?
Joseph DalyConnect With a Mentor Commented:
i think your looking for something like
dsquery group -name {groupname} | dsmod group -addmbr {member DN}

Open in new window

Joseph DalyCommented:
shannyhanmAuthor Commented:
Many thanks ...  I will give this a try.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.