Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - WMI driving me crazy

Reply
 
Old 08-11-2008   #1 (permalink)
notta


 
 

WMI driving me crazy

I don't know but in my personal opinion WMI seems very unreliable. I have a
script that uses Win32_NetworkAdapterConfiguration to return all the network
adapters in a machine. I then search for an IP that starts with a specific
number for each adapter and count how many adapters start with that number.
The script has been working very well, but I just hit a machine today where
it returned 6 adapters that started with the value I searched for. I
outputted the list to see what the script was finding and it found 6 adapters
that were all the same. That is only one occurrence, but there have been
quite a few results like that in the past couple of weeks.
Where does WMI pull it's info from?

My System SpecsSystem Spec
Old 08-13-2008   #2 (permalink)
Alex K. Angelopoulos


 
 

Re: WMI driving me crazy

Those are pulled from the actual network adapter configurations as exposed
by Windows itself. Individual adapters will have multiple configurations
associated with them, but if they are absolutely identical, you may be
seeing an underlying problem with the system. Could you show us the code you
use, and what looks identical?

When you show us the results, you may want to retrieve description
associated with each NAC also.


"notta" <notta@xxxxxx> wrote in message
news:093E0AD3-FEC0-4788-B2EA-68A7BFF11151@xxxxxx
Quote:

> I don't know but in my personal opinion WMI seems very unreliable. I have
> a
> script that uses Win32_NetworkAdapterConfiguration to return all the
> network
> adapters in a machine. I then search for an IP that starts with a specific
> number for each adapter and count how many adapters start with that
> number.
> The script has been working very well, but I just hit a machine today
> where
> it returned 6 adapters that started with the value I searched for. I
> outputted the list to see what the script was finding and it found 6
> adapters
> that were all the same. That is only one occurrence, but there have been
> quite a few results like that in the past couple of weeks.
> Where does WMI pull it's info from?
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Tree is driving me crazy General Discussion
Driving me crazy ! Network & Sharing
Please Help, This Is Driving Me Crazy Vista installation & setup
Driving me crazy.... Vista mail
How do I do this - it's driving me crazy Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46