PC Review


Reply
Thread Tools Rate Thread

Add contact to Distribution list

 
 
rwh@rodharrison.com
Guest
Posts: n/a
 
      15th Nov 2005
This may be more of an Active Directory question but many of you may
know how to do this.

I have several "Contacts" setup in an OU. I also have a Global
Distribution List setup.
I want to srcipt adding those contacts to the DL.
I know how to add users but I can't seem to add contacts.

This is how I add users with a batch script
net group DL User /ADD /DOMAIN

But it doesn't work when using the Alias or Display name of a contact

Anyone have a clue on how to do this with a batch script?

 
Reply With Quote
 
 
 
 
rwh@rodharrison.com
Guest
Posts: n/a
 
      17th Nov 2005
I figured out how to do it with the dsmod utility
I run this code from my batch script.


dsmod group "cn=GROUPNAME,ou=GROUPS,dc=mydomain,dc=domain,dc=com"
-addmbr "CN=Conatct Name,OU=Contacts For
Lists,DC=mydomain,DC=domain,DC=com"

Line is meant to be 1 long string, Be careful of line wrap.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add an existing contact to my existing Distribution List wihout having to open the Distribution List? Octavio Microsoft Outlook Contacts 9 9th Dec 2008 10:44 PM
Moving contact from distribution list to Contact folder William Microsoft Outlook Contacts 7 26th Dec 2007 09:09 PM
make a distribution list from a named category(in contact list) =?Utf-8?B?RGF2aWRh?= Microsoft Outlook 8 16th Apr 2006 08:12 AM
Create Distribution List from Contact List in Public Folders. =?Utf-8?B?REpS?= Microsoft Outlook Contacts 4 14th Jul 2005 04:56 PM
Create a distribution list from a category list in Business Contact Manager??? =?Utf-8?B?SVQgTmlnaHRtYXJl?= Microsoft Outlook Contacts 2 26th Jun 2004 07:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:38 PM.