Populate AD user's email address

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 1
Adamjparker Posted: 01-10-2012 11:22 AM

Something happened recently that emptied the field of all our AD user's email address in their properties. 

The user's email and user name are the same firstname.lastname@domain.com

Wondering if their was a powershell to fill in this field or pull the info from exchange.

Top 50 Contributor
Posts 32

Hi there

So you have an only domain to manage both AD and Exchange, or is it a linked one?

I am not an absolute expert, but we had a situation quite similar a few weeks ago and the email address had to be copied from the Mailbox objects to the User objects.

Something like:
1) Get-Mailbox NN | select primaryemail
2) Set-User NN -email xxxx@xx.xx

Not sure if I am being clear with this, but maybe with more info I could help, or perhaps an example to see where is this information missing?

Cheers.

Page 1 of 1 (2 items) | RSS
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.