change NIC TEAM speed and duplex on 2012 server

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Forums Archives Forums Archives 5 years, 6 months ago.

  • Author
    Posts
  • #5849

    by willbs at 2013-04-25 14:09:26

    how do i change the NIC Team (not the inividual NIC cards) speed and duplex on a 2012 server with powershell v3?

    by willbs at 2013-04-26 08:06:00

    i was playing around with this and found that you can change the speed and duplex of the individual NIC cards that are in a team and it won't break the team
    so just change all of the cards in the team to the speed and duplex you want and the team will reflect that

    Set-NetAdapterAdvancedProperty -name $NIC1 -displayname "Speed & Duplex" -DisplayValue "100 Mbps Full Duplex"
    Set-NetAdapterAdvancedProperty -name $NIC1 -displayname "Speed & Duplex" -DisplayValue "100 Mbps Half Duplex"
    Set-NetAdapterAdvancedProperty -name $NIC1 -displayname "Speed & Duplex" -DisplayValue "1.0 Gbps Full Duplex"
    Set-NetAdapterAdvancedProperty -name $NIC1 -displayname "Speed & Duplex" -DisplayValue "10 Mbps Full Duplex"
    Set-NetAdapterAdvancedProperty -name $NIC1 -displayname "Speed & Duplex" -DisplayValue "Auto Negotiation"

    to get the names of your nics, use this, i only haveto deal with 1 team with 2 nics in it

    $NIC = Get-Netadapter
    $NIC0 = $NIC.name[0] # should be the name of the team
    $NIC1 = $NIC.name[1]
    $NIC2 = $NIC.name[2]

You must be logged in to reply to this topic.