Solved

query need to show when computersnames were added to domain

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

734 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