Create new accounts with multiple group memberships

by The Rock at 2012-10-12 15:27:24

Hi all,

Can i create new accounts in bulk and have all the accounts created with membership of the same 5 groups? The scenario is i need some accounts all created with mailboxes and all the accounts need to be members of the same groups(some security and some distribution). Is this possible and should i use EMS or the AD commandlets?

All accounts will be in the same OU and need a password to reset at next log-on
by DonJ at 2012-10-13 12:50:01
You can achieve this, but it’s multiple steps. The accounts have to be created first, and then individually added to each group. Group membership is an attribute of the group, not the user account. You can use whichever set of cmdlets you’re more comfortable with.
by The Rock at 2012-10-14 16:12:35
Thanks for the reply bud…

Once the accounts are created can i add the users to mulitple groups in a single script? Say a CSV where i want the users in the sheet to all get added to the same 5 groups?
by DonJ at 2012-10-15 05:58:28