Well, with all the respect, the above code i wrote performs exactly what you indicated in your first post. Should you already had accomplished the very task you were asking for, what was the point of even starting this node? Why didn't you post your code upfront, so the rest of us can work on it rather than having to go through MSDN and come up with something from scratch?
As for your question, it appears you are confusing some fundamentals here. The physical drive is associated with an InterfaceType, and not the partition. This is what is getting listed here. | [reply] |
Actually, I did not have it figured out when I posted this node but after trying a bunch of things in WMI I was able to get that far... My end goal is to write a subroutine that accepts a drive letter and returns the InterfaceType (USB, IDE, SCSI) of the partition the drive is on.
| [reply] |