Hi Guys,
I don't know to much about LDAP queries so I hope someone can help me out!
I have an LDAP filter which I can use in ADUC to see which users have Outlook Web Access enabled. If it helps, the filter is " (& (objectClass=user)(homeMDB=*)(!protocolSettings=HTTP§0§1§§§§§§)) ".
If I want to export the users who show when the filter is applied to a .csv file, I have to go to each OU individually and export each to a separate file. We have separate OUs for Branch staff and Head Office staff. The Head Office OU is further divided by department.
I have found a website explaining the use of CSVDE (
here). It explains the use of the -f and -r switches (eg CSVDE -f export.csv -r "(&(objectClass=user)(sn=Thomas))" ).
I was wondering if it was possible use CSVDE with the LDAP filter to only export the filtered sample?
If it doesn't make sense, let me know and I'll try to clarify!
Thanks for any help.
Andy