hardware Inventory Script - physical disks (RAID)????

Discussion in 'Scripting' started by Tony Booth, Mar 24, 2005.

  1. Tony Booth

    Tony Booth Guest

    Hi Guys, can anyone help. I'm currently in the process of writing an
    inventory script using WMI for our Windows 2K/2K3 systems.

    I'm trying to simply perform a count of physical disks within HP servers,
    identifying logical disks isn't a problem as I can use the WMI Class:
    Win32_LogicalDisk. But identifying disks that are part of hardware RAID
    configurations seem to be more of a problem, has anyone come across this
    before and have a resolution?????

    Please help!!!!
    Tony Booth, Mar 24, 2005
    1. Advertisements

  2. Hi Tony,

    I've got an other question. How can I enum the SCSI buses with WMI?

    e.g. you may have three physical disks on SCSI channel 0, IDs 6,7,8 and
    a tape drive on SCSI channel 1, ID 5.

    Out of interest, were you able to obtain the cluster sizes from the volumes?
    Gerry Hickman, Mar 24, 2005
    1. Advertisements

  3. The most easy solution for HP-servers is the 'Surveyor-tool',
    automatically installed if you use SmartStart. Otherwise, it's part of
    the driver-package that most people install.

    It's automatically scheduled to run once a week to make an inventory
    of all hardware (and some software) on the computer. The most recent
    output is in 'c:\compaq\survey\survey.txt'.
    It's a plain text file, so you can use all scripting-techniques that
    are available for these files.
    Corné Bogaarts, Apr 9, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.