How to change users domain name in distribution group?

Tamerlan Imanov 1 Reputation point

I am trying to change users domain name in distribution group.

F.ex I have a distribution group namely: MyGroup and email address there timanov@keyman .com and many other users also in this distribution group.

How to change domain name from to for all users.

Maybe there is an option using script in powershell or something like that?

Please assist.

Best regards,

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,182 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,449 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 45,671 Reputation points

    The membership of a group is composed of distinguishedNames, not e-mail addresses. If you want timanov@keyman .com (a user) to use a different e-mail address then change that user's primary SMTP address. The same would be true for ALL the members of the DL if you want them to use a different SMTP address when sending an e-mail.

    In other words, the distribution group doesn't care what a member's e-mail address is because that information will be retrieved from the object whose distinguishedName is found in the members property of the DL.

    0 comments No comments