Answered MAC address of teamed NIC's

  • Tuesday, December 04, 2012 10:45 AM
     
     

    Quick one:

    Do we have any option of capturing the mac address's of teamed NIC's in powershell?

All Replies

  • Tuesday, December 04, 2012 11:19 AM
     
     

    Just a simple thought to find it by network adapter name. It looks like it's called

    Microsoft Network Adapter Multiplexor Driver

    So then it goes like this:

    (Get-CimInstance win32_networkadapter -Filter "Name='Microsoft Network Adapter Multiplexor Driver'").MacAddress

    But I'm not sure if it's correct cause I can't fully test nic teaming right now

  • Tuesday, December 04, 2012 1:28 PM
     
     Answered

    Something like

     (gwmi Win32_NetworkAdapter | where {$_.netconnectionid -eq 'Microsoft Network Adapter Multiplexor Driver'}).macaddress


    Gastone Canali >http://www.armadillo.it

    Se alcuni post rispondono al tuo quesito (non necessariamente i miei), ricorda di contrassegnarli come risposta e non dimenticare di contrassegnare anche i post utili . GRAZIE! Ricorda di dare un occhio anche QUI


  • Tuesday, December 04, 2012 4:56 PM
     
     

    I believe this only works in Windows 2012 (Win8).


    ¯\_(ツ)_/¯

  • Tuesday, December 04, 2012 7:18 PM
     
     

    I believe this only works in Windows 2012 (Win8).


    I Agree

    Gastone Canali >http://www.armadillo.it

    Se alcuni post rispondono al tuo quesito (non necessariamente i miei), ricorda di contrassegnarli come risposta e non dimenticare di contrassegnare anche i post utili . GRAZIE! Ricorda di dare un occhio anche QUI