Solved

Create active directory information with a script

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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