Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

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

$
0
0

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

 


Viewing all articles
Browse latest Browse all 8719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>