Advertisement

05.01.2008 at 07:46AM PDT, ID: 23368702
[x]
Attachment Details

What is the proper syntax to list users with dsquery/csvde commands?

Asked by netfriendsinc in Active Directory, MS DOS, Windows 2003 Server

Tags: Microsoft, Windows Server, 2003 R2, using dsquery and dsmod commands

I'm trying to use the dsquery command to show users in a certain OU and then output that info to a csv file that can then be opened in MS Xcel.  I'm not sure precisely, if I should be using the dsquery command and then pipe the output of that to a dsmod command, or if i should be using csvde.  The OU I am looking to gather a user list from is 3 layers deep.  So:

Root-->1s OU-->2nd OU-->Target OU

is there an easier way to do this besides the above commands?  Thanks for your help!Start Free Trial
 
 
[+][-]05.01.2008 at 07:52AM PDT, ID: 21479179

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 07:54AM PDT, ID: 21479192

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 08:14AM PDT, ID: 21479372

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 08:26AM PDT, ID: 21479508

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 08:27AM PDT, ID: 21479522

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 08:46AM PDT, ID: 21479734

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 09:17AM PDT, ID: 21480021

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.01.2008 at 09:32AM PDT, ID: 21480165

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Directory, MS DOS, Windows 2003 Server
Tags: Microsoft, Windows Server, 2003 R2, using dsquery and dsmod commands
Sign Up Now!
Solution Provided By: martin_babarik
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628