How to retrieve computer hardware and AD object information

Posted on 2009-05-27
Medium Priority
Last Modified: 2013-11-05
I'm inheriting a poorly configured active directory/network that has no documentation and is poorly organized.  I need some guidance and suggestions on a few things.

1.  They have no record of who has what type of computer and where.  They are needing to upgrade old computers but don't know who has what.  Is there a way to run a script that will pull hardware information remotely, so we don't have to run sneakernet?

2.  Most AD objects don't have location/member information so we don't know what its used for.  Is there a way we can query or retrieve the missing information remotely without running sneakernet?
Question by:essary66
1 Comment
LVL 57

Accepted Solution

Mike Kline earned 2000 total points
ID: 24488419
One thing that you can use to pull a nice quick report from AD is adfind by joe Richards
adfind -default -f objectcategory=computer name operatingsystem operatingsystemservicepack -csv -nodn > c:\computers.csv
Not sure about #1, if the information is not there you can't query it.  For example if the location is not populated it there is no query that can find something like that (for example this PC is in room112B)
For a good overall AD discovery I'd start with AD Topology Diagrammer (you will need visio)

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
If you need to implement application level security in an Access database application or other VBA code, I strongly encourage you to take advantage of Active Directory groups.
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 …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

624 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