Solved

Establish E-Mail Addresses for Multiple AD Users

Posted on 2009-04-10
5
404 Views
Last Modified: 2013-11-30
I have a need to establish e-mail addresses for a large number of users in my Active Directory.  Here's my configuration:

AD 2003, single domain
Exchange Server 2003
approximately 370 domain users
145 users with existing Exchange Server mailboxes

For my remaining 225 existing domain user accounts, I need to establish unique SMTP e-mail addresses in the format %username%@alternate.domain, that will then appear in the Exchange Server address book, but these users will NOT have Exchange Server mailboxes.  For an individual user, I can right-click and select "Exchange Tasks..." --> "Establish E-Mail Address."  Is there a way to do this for 225 existing user accounts using a script of some type?

Thanks in advance for your help!
0
Comment
Question by:isdirect
[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
5 Comments
 
LVL 7

Expert Comment

by:pr0t0c0l12
ID: 24118028
I would suggest you import contacts to AD and create a file with all the users in the right format and then import them as microsoft suggests.
http://support.microsoft.com/kb/327620
or
This might help you better
http://computerperformance.co.uk/Logon/Logon_LDIF.htm
 
Good luck!
0
 

Author Comment

by:isdirect
ID: 24118057
Thanks, but - that's the wrong approach for me.  These are EXISTING user accounts.  I do not want to create new contacts for them; I want to "Establish E-Mail Address" under Exchange Server.  As far as I know, simply attaching an SMTP address to a contact or an existing user account does not create the global catalog entry that Exchange needs to display that user in the Address Book.
0
 
LVL 13

Accepted Solution

by:
FearNoMore earned 250 total points
ID: 24118261
You can try using the admodify.net tool (using the custom tab)
http://admodify.codeplex.com/Thread/View.aspx?ThreadId=19044
You could also use LDIFDE
http://support.microsoft.com/kb/237677
 
 
0
 
LVL 49

Assisted Solution

by:Akhater
Akhater earned 250 total points
ID: 24118570
from the top of my head please test before

group all users in a OU
and run this vbs
Set oOU = GetObject("LDAP://OU=TargetOU, DC=domaoin, DC=COM")
 
For Each oUser In oOU
 If oUser.Class = "user" Then
  strDN=oUser.DistinguishedName
  strEmail = oUser.name + "@domain.com"
  set oADUser=GetObject("LDAP://" & strDN)
  oADUser.MailEnable strEmailAddr
  oADUser.Put "internetEncoding",1310720
  oADUser.SetInfo()
 End If
Next

Open in new window

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

696 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