How do I add an primary email alias to every exchange user on AD?

How do I add an email alias and make it the primary to every exchange account on my Active Directory? I have 2003 AD on Windows Server and I want to be able to do this with a script.  The current primary alias is for example: John Smith = and we want to add and change to primary to
Who is Participating?
davelongmanConnect With a Mentor Commented:
Use the recipeint policy in exchange manager.

set the email address (smtp) as

This will give everyone a email address.

See for more help:
bart1975Connect With a Mentor Commented:
Why do you want to do it by script? which version of exchange are you using? if its 2003 as well if you go in to exchange system manager, then to recipients and then to recipient policy you can add a rule like
Raheman M. AbdulSenior Infrastructure Support Analyst & Systems DeveloperCommented:
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.