Solved

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

Posted on 2012-03-20
5
808 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
[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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

707 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