Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Raid Controller Information

Status
Not open for further replies.

mawoodhouse

Technical User
Nov 20, 2007
1
US
Hello..

I really hope someone can help me, I have TWO questions, but the first is the most important:

1. With vbscript, is there a way to get all SCSI Raid Controller information such as Driver version and firmware version and type. This will be part of an inventory script I am doing for all Windows 2000 and 2003 servers in the company.

2. Using vbscript, how do you calculate the size of TWO files together, for example File1 size file2 size.

I appreciate any help you can give as I am new at this :)

Thanks.
 
You can get some info on the controller itself using Win32_SCSIController class. There is no driver version, but there is a deviceID and driver name.
Next, on 2003 machines, you can query Win32_PnPSignedDriver class with a deviceID to get driver version.
I don't think Win32_PnPSignedDriver class exists on 2000, but you can query driver file, since you have driver's name, for its version with ObjFSO.

This is an article from MS "Hey Scripting Guy", their script will enumerate all drivers, but since it utilizes PnPSignedDriver class it wont work on 2000 either.

Hope This helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top