none
Disabling the "Energy-Efficient Ethernet" property using PowerShell RRS feed

  • Question

  • My goal is to disable two values ("Selective suspend" and "Energy-Efficient Ethernet") via PowerShell, which pertain to the Surface Ethernet Adapter.

    In reference to "Selective suspend", the following command works: Disable-NetAdapterPowerManagement -SelectiveSuspend "Ethernet" -NoRestart

    In reference to "Energy-Efficient Ethernet", I've searched the internet for the correlating keyword/object, to no avail.  The keyword/object "EEELinkAdvertisement" doesn't succeed with the 'Disable-NetAdapterPowerManagement' command.

    I have over 750 Surface Pro's that I need to deploy these settings to.

    Any feedback would be greatly appreciated.

    Thursday, October 10, 2019 2:26 AM

Answers

  • Thanks for the feedback.

    Working string...

    Set-NetAdapterAdvancedProperty -Name "Ethernet" -DisplayName "Energy-Efficient Ethernet" -DisplayValue "Disabled"

    • Marked as answer by tty0746 Thursday, October 10, 2019 1:53 PM
    Thursday, October 10, 2019 1:52 PM

All replies

  • Here is how to list all advanced properties:

    PS C:\scripts>  Get-NetAdapterAdvancedProperty LAN -AllProperties
    
    Name                      DisplayName                    DisplayValue                   RegistryKeyword RegistryValue
    ----                      -----------                    ------------                   --------------- -------------
    LAN                       Energy Efficient Ethernet      Disabled                       *EEE            {0}
    LAN                       Flow Control                   Rx & Tx Enabled                *FlowControl    {3}
    LAN                       Interrupt Moderation           Enabled                        *InterruptMo... {1}
    LAN                       IPv4 Checksum Offload          Rx & Tx Enabled                *IPChecksumO... {3}
    LAN                       Jumbo Frame                    Disabled                       *JumboPacket    {1514}
    LAN                       Large Send Offload (IPv4)      Enabled                        *LsoV1IPv4      {1}
    LAN                       Large Send Offload v2 (IPv4)   Enabled                        *LsoV2IPv4      {1}
    help Set-NetAdapterAdvancedProperty -full


    \_(ツ)_/



    • Edited by jrv Thursday, October 10, 2019 2:38 AM
    Thursday, October 10, 2019 2:37 AM
  • Thanks for the feedback.

    Working string...

    Set-NetAdapterAdvancedProperty -Name "Ethernet" -DisplayName "Energy-Efficient Ethernet" -DisplayValue "Disabled"

    • Marked as answer by tty0746 Thursday, October 10, 2019 1:53 PM
    Thursday, October 10, 2019 1:52 PM