Hello everyone,
I posted this in the VBS forum but I thought I should post here too in case I can accomplish the same things with PowerShell as well:
Here's the scenario:
I have the x.com domain. What I need to accomplish is:
1. Create a universal distribution group out of every AD user. Set the name of each group to be the same as the "Display Name" of its respective user. Put all the Dist. Groups in an OU (e.g. "Groups" OU)
2. Set the email address of each dist. group the same as the email address of its respective user
but change the domain to y.com. For example, if in AD the user Fable Smith had an email address of
fsmith@x.com this user's dist group email address will have to be
fsmith@y.com.
3. Make each user a member of its dist. group.
As I said on my other post, I know you are probably thinking "Why would you ever want to do that"? Unfortunately I do and It is to accomplish a very specific goal.
Any help would be really appreciated!