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

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
LVL 2
atkfrg56Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Robing66066Commented:
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
atkfrg56Author Commented:
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
Robing66066Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
atkfrg56Author Commented:
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
Robing66066Commented:
Good luck.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.

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.