Question : AD Custom Query with .csv export which contains only Username, Realname and eMail ??

Hi  

i need an csvde AD custom query which contains:  "AD Logon Username,  Realname,  SMTP Email". nothing else. It should not include any "disabled users" or something else.

i've tested something with csvde:
csvde -d "ou=zh1,dc=ch,dc=lum2" -f c:\mfr001.csv -l "sAMAccountName, mail"

but this gives me to much data (includes DN) and also all inactive accounts.

thank you!

Answer : AD Custom Query with .csv export which contains only Username, Realname and eMail ??

You could do this with PowerGUI (freeware), and create custom queries and export accordingly -

http://www.powergui.org/downloads.jspa

Otherwise, did you want this in VB?

Lee
Random Solutions  
 
programming4us programming4us