sirbounty
asked on
Get hardware info via wsh/wmi
I have a script that works fantastic in setting up an LTO backup device under Windows 2003.
Only problem (well, haven't run across it yet, but want to provide for it, jic) is that I have to explicitly declare the port/id/lun.
Is there a way that I can dynamically poll my scsi device for this information? (willing to increase points if there is...)
Only problem (well, haven't run across it yet, but want to provide for it, jic) is that I have to explicitly declare the port/id/lun.
Is there a way that I can dynamically poll my scsi device for this information? (willing to increase points if there is...)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think Win32_TapeDrive may give me what I'm after....
ASKER
Sorry 'bout that... forget to increase the points...thanx
Thanks :) There was no need to increase points though.
Which class in the end did you use?
Which class in the end did you use?
ASKER
Well, I'm trying to get info on the library, tape drive and IDs for both...so, I'm using Win32_TapeDrive and one of the SCSI for now...I forget where I found the library - but the link includes many places to look...so thanx.
ASKER
I'm off to do some testing...it may be later this afternoon/tomorrow before I follow up and/or close this out...Thanx again! :^)