• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Win32 classes pt2

I'd like to find the class that would allow me to obtain the serial number/asset information from an external disk cabinet
0
sirbounty
Asked:
sirbounty
  • 3
1 Solution
 
Renato Montenegro RusticiIT SpecialistCommented:
Let me suggest the ultimate tool to navigate WMI Classes:

http://www.microsoft.com/downloads/details.aspx?FamilyID=6430f853-1120-48db-8cc5-f2abdc3ed314&DisplayLang=en

Download "WMI Administrative Tools" and use WMI CIM Studio to look for the classes. You can use the search tool to find any class you like, create and manage instances so you can see if the information provided is what you were looking for. You can also download scriptomatic which create sample scripts for you. Both from Microsoft.
0
 
sirbountyAuthor Commented:
Nice tool - but I've been unable to find what I'm looking for...
I'd be satisfied if I could at least get information off of an external tape library.  I found the tapedrive class, which gives me the installed drive info, but not info on the changer unit.
0
 
Renato Montenegro RusticiIT SpecialistCommented:
May be you will get it by calling Win32 API. I will check MSDN. If I found something, i will post.
0
 
Renato Montenegro RusticiIT SpecialistCommented:
Sir,

I found the following Win32 API:

GetTapeParameters - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Backup/backup/gettapeparameters.asp

And this docs will lead you to another point of view:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Backup/backup/creating_a_backup_application.asp

I think tape drivers are not handled as regular drives, so there are sets of APIs to control these devices.

Its possible that you'll have to build some DLL/COM Object to gain access to this function via Windows Script. But you can call it directly from VB.

Best regards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

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