Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: WindowsRegistry{ServiceName} V.S. wmic{ServiceName}

by pKai (Priest)
on Sep 19, 2007 at 12:53 UTC ( [id://639884]=note: print w/replies, xml ) Need Help??


in reply to WindowsRegistry{ServiceName} V.S. wmic{ServiceName} UPDATE: Solved

Looking for values from the output of wmic nic list ... it seems to me that that corresponds to the following Registry tree:

LMACHINE/SYSTEM/CurrentControlSet/Control/Class/{4D36E972-E325-11CE-BFC1-08002bE10318}

especially:

  • One of the subkeys (e.g. "0002"; may actually vary per machine) has an entry 0002//NetCfgInstanceId which value is the same GUID you find in LMachine/SOFTWARE/Microsoft/Windows NT/CurrentVersion/NetworkCards/2//ServiceName (1:1 correspondence on my machines; actual GUID may vary per machine/nic)
  • The "ServiceName" (wmic) you mention is the 0002/Ndi//Service entry

Just guesswork from a quick scan, but HTH.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://639884]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-19 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found