I need to figure something and I think I miss it.
In the AD Users and Computer mmc, you can do a right click on a user and select Copy. This will create a new user with some information from the source user.
I tried to figure, how I can do that with PowerShell ?
I tried this :
New-ADUser -SamAccountName testps2 -AccountPassword (Read-Host "Password" -AsSecureString) -Instance testps
But this creates the user, but it’s blank. So I think my -Instance not worked. This I miss something.