View Full Version : Exporting information from AD


=?Utf-8?B?bWFtYXJhbEBrcm9ub3MuY29t?=
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

Paul Bergson {MCT, MCSE}
Scroll down in this news group to the subject "Dead Machine Accounts" go to
the second to last conversation and download the file Ace is providing.
This will provide a text file of all users with some additional info.

Just run it via a dos prompt using cscript


Paul Bergson MCT, MCSE, CNE, CNA, CCA



"mamaral@kronos.com" wrote in message
news:400B0898-F8C4-49B3-A397-BAC044D8A888@microsoft.com...
> 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



Johan Arwidmark
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