Announcement

Collapse
No announcement yet.

Reporting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reporting

    I want to get a listing of the system BIOS version of all the servers in my domain that are Proliant DL380's and running Windows 2000 server.

  • #2
    Re: Reporting

    Here is a vbs script you can use. It works on most but not all. This was original listed by The Supply Guy.
    <span style="font-weight: bold">Command Line</span>
    wscript.exe "\\servername\Scripts\HyenaTools\Utilities\BIOSSN. vbs" //NoLogo %E%

    <span style="font-weight: bold">please note I run my tools from a share point</span>

    <span style="font-weight: bold">save the following as a vbs file</span>
    ********************************************
    Option Explicit

    Dim WshShell, objArgs, objTargetComp 'as String
    Dim BiosSet, System, Bios_serial, strResponseText

    Set WshShell = WScript.CreateObject("WScript.Shell")

    Set objArgs = WScript.Arguments ' create object with collection

    objTargetComp = objArgs(0) 'assign the passed computer name to a variable

    Set BiosSet = GetObject("Winmgmts://" & objTargetComp).InstancesOf ("Win32_BIOS")
    for each System In BiosSet
    Bios_serial = System.SerialNumber
    Next

    strResponseText = "BIOS SN: " & Bios_serial


    WshShell.Popup strResponseText, 0,"Serial Number (from BIOS)"
    ********************************************

    This should help you get a start.

    Comment


    • #3
      Re: Reporting

      You can also perform this action in Hyena or Exporter Pro by using WMI, which is what this script does. You might have to create your own WMI query, as I don't know if you include a default WMI query for this class, but its easy to setup.

      If you want to go that route, let us know and we'll tell you the steps.
      Kevin Stanush
      SystemTools Software Inc.

      Comment

      Working...
      X