Solved

Want to get domain name of multiple users

Posted on 2009-07-06
4
259 Views
Last Modified: 2013-12-24
I want to know detail for domain name of  my 500 users
The user name is in my excel sheet and i want to fetch out their domain names

How can i do that?
0
Comment
Question by:Hardeep_Saluja
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
Shabarinath Ramadasan earned 500 total points
ID: 24786637
You can use CSVDE or dsquery
If you are using CSVDE, no need to use a loop. CSVDE will fetch the value from CSF file one by one and process it.
If you are using dsquery, use a for loop.
dsquery * -filter cn=loginname forestroot -attr cn
Hope this helps.
Cheerio
Shaba
0
 
LVL 6

Author Comment

by:Hardeep_Saluja
ID: 24786766
how will csvde fetch from csf file..
pls clearly tell what command i need to use
0
 
LVL 14

Expert Comment

by:Shabarinath Ramadasan
ID: 24787212
Check this site which explains about CSVDE

http://www.computerperformance.co.uk/Logon/Logon_CSVDE.htm

Cheerio
Shaba
0
 
LVL 6

Author Closing Comment

by:Hardeep_Saluja
ID: 31600210
Solution  is partially correct.. Did not get exact answer of dsquery filter to apply for getting desired result
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now