I am trying to export AD user information and would like to just pull out user properties such as full name, logon account, email and discrption to a csv file. Currently, I am trying with dsquery and ldifde and below are the commands:
LDIFDE -l "givenname,sn,displayName,sAMAccountName,memberof" -r "objectclass=user" -f "filename.txt"
dsquery user -samid * -limit 0 | dsget user -ln -fn -office -desc -email -tel -fax -mobile -title -company
Your help is appreciated...