You should also be able to get a list of computer accounts via
dsquery/dsget or adfind.

Phil

On 8/11/05, Dan Holme <[EMAIL PROTECTED]> wrote:
> DUMPCOMPUTERS.BAT
> @echo off
> set OU=%1
> set FileName=%2
> 
> ldifde -f "%FileName%.ldf" -d "%OU%,dc=us,dc=ray,dc=com" -p SubTree -r
> "(objectClass=computer)" -l
> "objectClass,description,name,sAMAccountName"
> 
> echo on
> 
> 
> the ldifde line is ONE line (watch for word wrap in the email)
> 
> Call this file as in:
> DUMPCOMPUTERS.BAT "dc=windomain,dc=local" "computers.txt"
> 
> 
> Dan
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Kern
> Sent: Thursday, August 11, 2005 11:18 AM
> To: activedirectory
> Subject: [ActiveDir] csvde syntax
> 
> what's the ldap filter to use with csvde to just export all computer
> objects in a domain to a file?
> thanks
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive:
> http://www.mail-archive.com/activedir%40mail.activedir.org/
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
>
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to