Some times the script fails with the error directory object not found.
I think this is because my script may attempd to check the new user on a DC which is not replicated yet, and the information about the new utilisateur is missing.
Is it possible to retrieve the name of the DC on which the user are created ? (so i would be able to specify the DC in the script)