Solved

Export Active directory full account details

Posted on 2008-10-29
9
2,227 Views
Last Modified: 2008-10-31
I'm running Exchange server 2000.  I would like to export all my AD account details into Excel?

Account details such as:

Name, Initials, Office, Description, Email, Telephone, Fax, Mobile, Title, Company etc etc

I cannot find a way to export all the details.  I see an option to export an OU but this does not give me all the details....

Ellandrd
0
Comment
Question by:ellandrd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
9 Comments
 
LVL 4

Assisted Solution

by:keamo
keamo earned 50 total points
ID: 22830736
You can use LDIFDE to export that data.....

http://technet.microsoft.com/en-us/library/bb727091.aspx
0
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 350 total points
ID: 22830826
The below will return what you requested above. The Limit 0 tells it to return all matching acocunts.

dsquery user -samid * -limit 0 | dsget user -ln -fn -office -desc -email -tel -fax -mobile -title -company

Other pieces of information needed can be added by using the switches here
http://www.geocities.com/rick_lively/MANUALS/COMMANDS/D/DSGET.HTM#ParameterUser

At the end of your command just put >outfile.txt to save it to a file. Then you can import it into excel.

0
 
LVL 16

Author Comment

by:ellandrd
ID: 22831178
dsquery is not a recognised command.  ive tried to run this on the exchange server....
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:keamo
ID: 22831211
dsquery is part of the "Windows 2003 Administration Tools Pack".  You will have to download, install it.
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 22831301
Or you can run the command from any workstation that has access to AD and these tools installed. As long as it can query AD the report can be run from anywhere.
0
 
LVL 33

Assisted Solution

by:Exchange_Geek
Exchange_Geek earned 50 total points
ID: 22831393
Use simple csvde command to get all the information for every AD Object into Excel.

Command would be

csvde -f C:\ADoutput.csv.
0
 
LVL 16

Author Comment

by:ellandrd
ID: 22832118
is the csvde command apart of 2003 admin kit?
0
 
LVL 33

Expert Comment

by:Exchange_Geek
ID: 22832418
Its part of windows support tools.
0
 
LVL 32

Assisted Solution

by:gupnit
gupnit earned 50 total points
ID: 22834593
Hi,
Well you can use various methods to export Users....Most common are LDIFDE and CSVDE
Here is how to use CSVDE:
For LDIFDE:
Hope this helps
Thanks
Nitin
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question