Answer the question
In order to leave comments, you need to log in
How to copy users to another domain (create copies of accounts)?
There is a division in AD in which there are other divisions and user accounts (only users, there are no other objects). It is necessary to "copy" this structure (department with users) to another domain.
(possible without a password).
That is, in another domain, exactly the same unit as in the first domain should appear.
The purpose of copying is not to create users manually, in another domain, and not to fill in their full names, positions ... (this is a long time).
It is unproductive to create accounts for 1000+ users in the new domain and fill in their full names, positions.
It is necessary to copy, not migrate (as I understand it).
That is, copies of user accounts should appear in another domain. Later these accounts will be slightly changed.
How can I do that?
Answer the question
In order to leave comments, you need to log in
1. PowerShell: export in source domain via Get-ADUser | Export-Csv, import in destination domain via Import-Csv | New-ADUser
2. use CSVDE utility
Do you need a ready-made script or action plan? In the second case, using the same powershell (or any other scripting language that you know and that can "communicate" with AD), upload the contents of the original unit to the same csv, and then load the saved structure from the received csv in the new domain. You can do the same in two (four if you count in two domains) calls: first we copy the structure, and then the users themselves. In general, powershell and -WhatIf help.
PS In the case of a ready-made script, "smoke" the Internet. Loading / unloading users is a fairly trivial task, there are plenty of solutions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question