Setting Email Address for Multiple Contacts
Okay, I have an interesting question. Does anyone know how I could set the email addresses for all the users in a container (organizational unit) to fit the naming convention firstname.lastname@domain.com? I tried to use Email Address Policies and Get-Contact | Out-file c:\contact.csv (the second one doesn't grab all the contacts). Is there a way using either PowerShell or Exchange Management Shell or even one of the GUI's that will let me apply the email addresses to all the addresses in the container? We are using Exchange 2007 and Windows Server 2003. Any help would be appreciated, there are a ton (well over 2k contacts) and manually doing this is something I would like to avoid.
March 11th, 2008 11:33pm
Email address policies should handle this. Did you set the priority such that the new policy is highest?
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2008 6:34am
Ok, I looked at the email address policy settings and see what the problem is... What you may need to do is set one of the custom attributes and populate that with something unique for those users, or use Department or Company and set those users with a unique Dept or Co. You should be able to script the changing of that attribute with VBScript or a management tool like Hyena to make it quick and easy, then setup the email address policy to change the email address for those users.
March 12th, 2008 4:26pm
I tried using the Email Address Policy again and it seemed to work this time, the problem has changed, it's applying the firstname.lastname@domain.com policy to contacts but it's making users john.doe2@domain.com vs. john.doe@domain.com even if there aren't any duplicate records.
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2008 5:52pm