in reply to WindowsRegistry{ServiceName} V.S. wmic{ServiceName} UPDATE: Solved
My first thought was that if it's not in the output of wmic nic list full then you won't get it from wmic, but combined with the info from pKai, it looks like you could piece it together.
When I wmic nic list full there's a suspicious "Index" that (on my computer) goes from 1 to 9. When I go into the registry at pKai's:
LMACHINE/SYSTEM/CurrentControlSet/Control/Class/{4D36E972-E325-11CE-BFC1-08002bE10318}
I see an index from 0 to 8, so I'm guessing that between wmic and the registry you could get at what you're after
I'm wondering, though if there isn't an XY problem here. You seem to be where I am when I get myself into the most trouble very focused, tunnel vision, stubbornly fighting with the computer. Is there a better way to solve the problem your working on? Is the permanent MAC / current MAC something you could let go of and solve a different way? If you gave a little more context, perhaps the Monks here could help with that more.
If this is the only way, then I hope our observations on wmic and the registry help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WindowsRegistry{ServiceName} V.S. wmic{ServiceName}
by cmv (Chaplain) on Sep 19, 2007 at 18:16 UTC | |
by goibhniu (Hermit) on Sep 19, 2007 at 19:37 UTC | |
by Anonymous Monk on Jan 18, 2008 at 11:02 UTC |