?
Solved

Lising domain users and computers from command line

Posted on 2006-06-21
4
Medium Priority
?
387 Views
Last Modified: 2010-07-27
Hi, A long time ago in a land not so far away I ran a command from the command line to list all 200 users in our domain. Well now we have 250 users and I want to re-run the command but I can not recall what it was.  I think it was one of the net commands and the output looked like this...

njones,Jones, Neil,,njones,,,,
psmith,Smith, Paul,,pdmith,,,,
pdoe,Doe, Peter,,pdoe,,,,

...any idea what command line would produce that kind of output (username and real name)?

Also I'm looking for a command line that will list all computers on out domain. Thanks!
0
Comment
Question by:veedar
[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
4 Comments
 
LVL 23

Assisted Solution

by:TheCleaner
TheCleaner earned 752 total points
ID: 16951587
if it was a net command it was probably net user /domain

Why don't you use csvde or ADUC queries to do this?
0
 
LVL 13

Accepted Solution

by:
Kini pradeep earned 800 total points
ID: 16952317
this might help you,
http://support.microsoft.com/default.aspx?scid=kb;en-us;322684

you could also take a ldifde dump of the domain.
0
 
LVL 15

Author Comment

by:veedar
ID: 16952625
TheCleaner,  net user /domain just lists username, I need full name as well. I never heard of csvde I'll look into it.
I can not figure out how to export what I need from ADUC.

kprad, Thanks for the link. I discovered dsquery today. I need to look at it more to see if it can do what I need.
0
 
LVL 15

Author Comment

by:veedar
ID: 16954624
Thanks guys..I got what I need....btw another good tool for this is DumpSec
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 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