• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 735
  • Last Modified:

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.
0
shannyhanm
Asked:
shannyhanm
  • 2
1 Solution
 
Joseph DalyCommented:
i think your looking for something like
dsquery group -name {groupname} | dsmod group -addmbr {member DN}

Open in new window

0
 
Joseph DalyCommented:
0
 
shannyhanmAuthor Commented:
Many thanks ...  I will give this a try.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now