Solved

Create active directory information with a script

Posted on 2013-01-14
5
291 Views
Last Modified: 2013-01-18
Hi All,

I wonder if you guys can help me here, I have been asked to create an "asset register" to show information like Computer Type/Name, spec, amount of memory, OS, processor, Serial Number, Description, ect, you get the idea, I am totally hopeless with scripting and VB but seem to remember somebody achieving something like this using a script to get the info from Active Directory, can this be done if so can you help, if not I am barking up the wrong tree...

Any help would be appreciated

Thanks

Darren
0
Comment
Question by:dazzzor_it
5 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 250 total points
ID: 38774955
You can get some of that info from AD (name, OS version, service pack).  If you want I can show you that (powershell or adfind).

Memory/Serial Number/processor and hardware related items are not stored as AD attributes.  There might be scripts out there that can help with that but they are not pulling that info from AD.

Thanks

Mike
0
 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 250 total points
ID: 38775045
I had a spreadsheet I wrote once which scanned AD for computers that weren't already listed, then used WMI I think it was to get more information from the PC's that were on.

I can't find it at the moment and don't have time to re-write the functionality so will see if anyone else can get you what you need.  If/when I find it will post here.

Steve
0
 

Author Closing Comment

by:dazzzor_it
ID: 38778711
Thanks guys, I did fins a script that I used to generate AD attributes, that worked fine, thanks for your help..
0
 

Expert Comment

by:NECBP
ID: 38793941
dazzor_it can you post the script here?
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 38793983
Glad to help and if you like using GUI tools adinfo is a nice one to download

http://www.cjwdev.co.uk/Software/ADReportingTool/Info.html

....and free

Thanks

Mike
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

932 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

11 Experts available now in Live!

Get 1:1 Help Now