Solved

query need to show when computersnames were added to domain

Posted on 2011-09-15
3
396 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
  • 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

Join & Write a Comment

This article will help you understand what HashTables are and how to use them in PowerShell.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conneā€¦
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlleā€¦

760 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

18 Experts available now in Live!

Get 1:1 Help Now