Set mailbox' PrimarySmtpAddress to the value of the Initials-attribute on the corresponding AD object found with get-user.

Hello,

The get-user can retrieve the value I want to use as email address 'prefix' for a group of users. How can I couple that attribute of the user object with a different domain name we use?

Somtthing like:

get-user -resultsize unlimited -OrganizationalUnit "domain.com/Department" |Set-Mailbox  -PrimarySmtpAddress=$initials + "newdomain.com"  -EmailAddressPolicyEnabled $False

 

Any assistance is appreciated.

Best regards, Tim

 

February 25th, 2015 2:20pm

Hi,

Please open EMC and expand to Organization Configuration---Hub Transport, then select one and edit the e-mail address policy, figure as below:

Note: cannot modify the setting of Default Policy.

Best Regards,
Allen Wang

Free Windows Admin Tool Kit Click here and download it now
February 28th, 2015 12:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics