Solved

Script to gather BIOS/manufacture dates for computers in a domain

Posted on 2012-03-20
5
713 Views
Last Modified: 2012-04-16
Hi,
I've been requested by a client to provide an aging report for their systems.  I figured the easiest way to do this is to get the BIOS release/manufacture date for each computer.  Unfortunately, our RMM tool does not have this functionality built in, so I was looking for a script I could run on the domain that will gather this info (all I need is computer name and BIOS date) and export it into a TXT or CSV file.  The script can be VB, WMI, Powershell or anything, I don't care as long as it works.  If anyone can help out it would be much appreciated.  Thanks!
0
Comment
Question by:BSCITECH1
  • 3
5 Comments
 
LVL 17

Expert Comment

by:vb_elmar
ID: 37744012
This is how to get the computer name.
getComputerName.zip
0
 
LVL 17

Accepted Solution

by:
vb_elmar earned 500 total points
ID: 37744207
Using WMI, it is possible to get the BIOS manufacturer information.

To Form1, add a command button (Command1) and a listview (Listview1). Set a reference in Projects / References to "Microsoft WMI Scripting V1.2 Library" ...

... and add the following code to the form:

http://vbnet.mvps.org/index.html?code/wmi/win32_bios.htm

ANNOTATION:
You'll find the Listview under:
Project\Components\ "Microsoft Windows Common Controls 5.0 (SP2)"
0
 
LVL 17

Expert Comment

by:vb_elmar
ID: 37744648
This WMI sample exports the Bios manufacturer information to a .txt file.

SHORT CODE !
5.zip
0
 

Author Closing Comment

by:BSCITECH1
ID: 37851081
Was hoping for something more "packaged" but I think I can work with this.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

758 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

21 Experts available now in Live!

Get 1:1 Help Now