Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 951
  • Last Modified:

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

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
BSCITECH1
Asked:
BSCITECH1
  • 3
1 Solution
 
vb_elmarCommented:
This is how to get the computer name.
getComputerName.zip
0
 
vb_elmarCommented:
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
 
vb_elmarCommented:
This WMI sample exports the Bios manufacturer information to a .txt file.

SHORT CODE !
5.zip
0
 
BSCITECH1Author Commented:
Was hoping for something more "packaged" but I think I can work with this.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now