Hi Martin,
I've been looking thru msdn for quite some time now. The most interesting calls to WMI are: CIM_LogicalDevice or Win32_PnPDevice. Unfortunattely, I miss a lot of mapping, which I can't retrieve with WMI commands.
I'm also looking at the windows kernel commands.
Apparently "!devnode 01" can do the trick as well, but for now I'm not able to send a windows kernel command with perl.
I found out that the WMI commands in the online MSDN libraries are updated (or at least partially) for Windows Vista.
Thanks for the advice.
Update:
Ok, there some problems with the kernel mode, because you have to run an application on 2 pc's. Apperantly the missing link for logical devices bus elements is PDO (Physical Device Objects). These allow me to link the devices uniquely together.
PDO's are not guaranteed thru Windows 2000 thru a WMI call. (Or at least, I didn't find one).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.