Hey Experts! I would like to run a query on my AD network to retrieve the username for all my users. Since we merged a couple of years ago, some users have user.name and others have username. I would like to dump a list of the user accounts to aid the helpdesk. We did this when we merged but I don't have the script any longer.
Can this be done with a batch file?