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
- Moved by Jason Johnston [MSFT]Microsoft employee 19 hours 6 minutes ago Not a development question.