Solved

query need to show when computersnames were added to domain

Posted on 2011-09-15
3
417 Views
Last Modified: 2012-05-12
I need a query of some sort that will show me what computer names were added to my domain this year.

I will need this to output to a txt or csv.  Thank you.,
0
Comment
Question by:stowyo
[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
3 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 36545234
You can use a tool like adfind from Joe Richards   http://www.joeware.net/freetools/tools/adfind/index.htm

adfind -default -f "objectcategory=computer" name whencreated -csv -tdca -nodn > c\computers.csv

That will output a list of all computer objects into a csv file that you can sort.

If you want to get more granular you can search using whencreated, good blog by Scott  http://blog.scottlowe.org/2006/10/11/finding-recently-created-active-directory-accounts/

If you are more comfortable with a GUI there is a free tool called adinfo   http://www.cjwdev.co.uk/Software/ADReportingTool/Info.html

See attached screenshot

Thanks

Mike




adinfowhencreated.jpg
0
 
LVL 1

Author Comment

by:stowyo
ID: 36545462
mkline71 - Thank you!  ADFIND roocks.
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 36546711
glad to help...and yes adfind does rock :)
0

Featured Post

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!

Question has a verified solution.

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

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

688 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