Updated useful tips and troubleshooting with IT..
dsquery * domainroot -filter "(&(objectCategory=Person)(objectClass=User)(sAMAccountName=*))" -attr sAMAccountName whenCreated -limit 0 >C:\output.txt