Right-click the OU in Active Directory Users and Computers and select
export list
Or use the csvde command
To export all user and computer accounts
csvde -m -f user-list.csv -r "(objectClass=user)" -p Subtree -l
samAccountName
To export all only user accounts
csvde -m -f user-list.csv -r
"(&(objectClass=user)(objectCategory=person))" -p Subtree -l
samAccountName
regards
Johan Arwidmark
Windows User Group - Nordic
http://www.wug-nordic.net
On Tue, 9 Mar 2004 06:06:07 -0800, mamaral@kronos.com
wrote:
>Hi Everyone;
>
>I need to export user login Id's from my Active Directory to a test file. What is the easiest and quickest way of doing that?
>
>Marty