[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Create active directory information with a script

Posted on 2013-01-14
5
Medium Priority
?
301 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 1000 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 1000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public 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.
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

650 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