[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Establish E-Mail Addresses for Multiple AD Users

Posted on 2009-04-10
5
Medium Priority
?
409 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 1000 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 1000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

656 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