Solved

Export Active directory full account details

Posted on 2008-10-29
9
2,229 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
how to add IIS SMTP to handle application/Scanner relays into office 365.
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…

690 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