[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

query need to show when computersnames were added to domain

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
stowyo
Asked:
stowyo
  • 2
1 Solution
 
Mike KlineCommented:
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
 
stowyoAuthor Commented:
mkline71 - Thank you!  ADFIND roocks.
0
 
Mike KlineCommented:
glad to help...and yes adfind does rock :)
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now