That's because the computer accounts are also user accounts in AD. If you
have a separate OU for users, it's easy. If you don't, you can try filtering
on an attribute that's specific to a user account like SN (surname). This
one worked for me...
csvde -f c:\file.csv -d "dc=xx,dc=yyy,dc=com" -r "(sn=*)"
It's looking for accounts with a sn, and computers don't usually use that
attribute...


**********************
Charlie Kaiser
MCSE, CCNA
Systems Engineer
Essex Credit / Brickwalk
510 595 5083
**********************


-----Original Message-----
From: Celone, Mike [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 18, 2004 1:59 PM
To: '[EMAIL PROTECTED]'
Subject: [ActiveDir] CSVDE Problem


I must be doing something stupid that I can't seem to figure out.  I'm
trying to use CSVDE to export all the users from our domain.  Now whenever I
run the program and specify to only export user objects it exports
everything on me!  Here the command line I am using:

csvde -f c:\file.csv -d "dc=xx,dc=yyy,dc=com" -r "(objectClass=user)"

Shouldn't this command only export user objects?  For some reason it's
exporting both computer and user objects from the domain.  What am I doing
wrong?

Mike Celone
Systems Specialist
Radio Frequency Systems
v 203-630-3311 x1031 
f 203-634-2027
m 203-537-2406
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to