?
Solved

External email via contact in AD Active Directory.... with full automation, possibly using dsadd.exe

Posted on 2005-04-05
7
Medium Priority
?
273 Views
Last Modified: 2008-02-01
How Can I do this solution via the 'dsadd.exe' command line automation so I can build batch scripts and such...or perhaps another method to get the same results? Link below to manual solution, need automated solution.
http://www.experts-exchange.com/Applications/Email/Q_20615280.html


Goals -
1. fully automated via commandline (DOS Prompt)
2. add a contact or such to a DL Distrobution List, so that sending an email to list@localdomain.com/list@domain.local sends emails to all the contacts that are external person@externalyahoo.com
0
Comment
Question by:atkfrg56
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 7

Expert Comment

by:Robing66066
ID: 13708068
I think this is what you are looking for.  Check halfway down under Examples.  There is a section there that explains how to add a user to all administrator distribution lists.  This should be easily adaptable to allow for the addition of the user to any group you'd like.  (You could even use parameters in your batch file to allow it to add based on names and DL's you feed it.)

Good luck.

http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/WINDOWSXP/home/using/productdoc/en/dsmod_group.asp
0
 
LVL 2

Author Comment

by:atkfrg56
ID: 13708378
Ok, I think I didnt specify the goals correctly to reflect the Question link. I was trying to say... to complete the referenced question Q_20615280... but have it automated, and my goals were summed up after reading that question.

The main part that isnt working is to have a new contact...with an external email address. I can Manually do it using the Question link Q_20615280, I can do a contact with external email....manually doing it works fine. My problem is, I need to automate the process with dsadd.exe. The above post tells me how to add a contact to a DL, which is the next step after that.

Goals -
1. fully automated via commandline (DOS Prompt)
2. make a contact (fully automated via step 1) that has a working external email address
3. Add the contact to a DL [done]
4. When done, I should email list@localdomain.com and all contacts in that DL will get emails via their external email addresses
0
 
LVL 7

Accepted Solution

by:
Robing66066 earned 2000 total points
ID: 13708647
I think this should do it here (for the user portion):

http://www.windowsitpro.com/Article/ArticleID/40363/40363.html

Just add those commands to a batch file and off they go.  If you don't know how to create/write a batch file, let me know and I'll see if I can throw one together for you.

In addition, here is an excellent page on using these tools to get anything you want done:

http://blogs.technet.com/jhoward/archive/2005/01/27/361415.aspx

There is also a good video on it here (you'll have to join the site to see it)

http://www.winstructor.com/videos/server2003/user_accounts.htm

0
 
LVL 2

Author Comment

by:atkfrg56
ID: 13761064
Hmm, I am going to try and work with those links more. It just doesnt want to send email to them.

On a second note...I can only create exchange mailboxes on the exchange/AD server. If I connect to the server via the Windows 2003 Admin Pack on Windows XP SP2, I get most of the options except for exchange options - create email account, manage it, etc.
0
 
LVL 7

Expert Comment

by:Robing66066
ID: 13762491
Good luck.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
An analysis of the phishing scam that has been affecting Google users, along with steps to take for protection, as well as what to do if you receive one of the emails.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question