Solved

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

Posted on 2012-03-20
5
740 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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