Solved

Create active directory information with a script

Posted on 2013-01-14
5
296 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
[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
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

695 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