I have been tasked with copying users and groups from one domain to another.
These are two 2012 domains, without a trust. (Prod → model → dev domains). Passwords are not a concern (all will be reset). This will be written in powershell running on a member server of the source domain (if that matters).
My question is, should I
- copy all of the groups, then copy the users adding them to the newly created groups as each one is copied, or
- copy the users, then create the groups adding the memberships as each group is created, or
- copy all the users, then all the groups, then go back thru the users (or groups) to confirm memberships are processed?
My gut leans me to #1, but would #2 be a better option (and is #3 really even a consideration?)
Note: This is not a directory migration. I understand users will have new SID's, and profiles. Rather, this is to set up as identical as I can lab environment.