https://gallery.technet.microsoft.com/scriptcenter/Dump-AD-User-Accounts-25ba7ca8

https://gallery.technet.microsoft.com/scriptcenter/Mirror-AD-User-Accounts-2d5594c4