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.
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 primaryemail2) 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.