https://www.petri.com/forums/forum/server-operating-systems/windows-server-2000-2003-2003-r2/26393-how-to-find-users-distinguished-name-of-users-in-ad
dsquery user -limit 1000 | dsget user -dn >C:\Getuserdn.txt