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.


I humbly seek wisdom.

In reply to Re: WindowsRegistry{ServiceName} V.S. wmic{ServiceName} by goibhniu
in thread WindowsRegistry{ServiceName} V.S. wmic{ServiceName} UPDATE: Solved by cmv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.