We help IT Professionals succeed at work.

Win32 classes pt2

sirbounty
sirbounty asked
on
Medium Priority
150 Views
Last Modified: 2010-04-17
I'd like to find the class that would allow me to obtain the serial number/asset information from an external disk cabinet
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Top Expert 2007

Author

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.

Commented:
May be you will get it by calling Win32 API. I will check MSDN. If I found something, i will post.

Commented:
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.