automaton64
asked on
I need a script to display first names, last names and logon names of active directory users.
I need to produce a report in excel that will give a sortable list of first names, last names and logon names of active directory users.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you.
dsquery user domainroot -limit 0 | dsget user -dn -fn -ln >c:\list.txt
That will create the output in a textfile that can be brought into XLS.