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

x
?
Solved

automated populate email address field in Active Directory

Posted on 2010-08-23
6
Medium Priority
?
1,743 Views
Last Modified: 2012-05-10
Hi.

I have an OU with 800+ users in it and i need to populate the email address field with 'firstname.surname@domain.com'

I was hoping to use something similar to '%username%@domain.com' which does work in the email address field in AD but its not the username that i need. Tried using %givenname%.%sn%@domain.com but didn't work.

Has anyone just a similar command to populate this field before or can advise the best way to do this without having to input manually.

Cheers!
0
Comment
Question by:NoelMCM
[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
6 Comments
 
LVL 10

Expert Comment

by:jorlando66
ID: 33502858
If you are running exchange you can do this through recipient policies en masse.
0
 
LVL 10

Accepted Solution

by:
dhruvarajp earned 2000 total points
ID: 33502953
do this
http://www.msexchange.org/articles/ADModify-Change-Exchange-Specific-AD-User-Attributes.html 
use this tool to modofy the email addresses in bulk

you can get  admodify.net from codeplex.com or just google
Thank you
0
 

Author Comment

by:NoelMCM
ID: 33503025
Just to note and i should have mentioned in the first post. We are a Lotus Notes house so the email address field in AD will purely be for reporting purposes.

Not having Exchange will i still be able to use the admodify without any issues do you know?

Thanks for the quick responses by the way!!
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:NoelMCM
ID: 33503132
Tried using ADModify but i still end up with the same issue in that i still have to type in what i want to appear. See attachment
ADmodify.JPG
0
 
LVL 11

Expert Comment

by:RickSheikh
ID: 33503741
If you are open to using PowerShell with Quest Cmdlets, then below script may suffice for you.
get-qaduser -searchroot 'na.mydomain.int/users and groups' -email $null -firstname * -lastname * -sl 0 | foreach {
    $email = "{0}.{1}@{2}" -f $_.firstname,$_.lastname,$_.userprincipalname.split("@")[1]
   write-host $email
    #set-qaduser -identity $_ -email $email
}

Open in new window

0
 
LVL 10

Expert Comment

by:dhruvarajp
ID: 33732747
do it from the Email addresses tab
there you have options to define it the way you want
with a example
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
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…
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 to another domain controller. Log onto the new domain controller with a user account t…
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