PowerShell Logo Small

Set-NetAdapterPowerManagement



This is the built-in help made by Microsoft for the command 'Set-NetAdapterPowerManagement', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Sets the power management properties on the network adapter.

SYNTAX


Set-NetAdapterPowerManagement [-Name] <String[]> [-ArpOffload <Setting>] [-AsJob] [-CimSession <CimSession[]>] [-D0PacketCoalescing <Setting>]
[-DeviceSleepOnDisconnect <Setting>] [-IncludeHidden] [-NoRestart] [-NSOffload <Setting>] [-PassThru] [-RsnRekeyOffload <Setting>]
[-SelectiveSuspend <Setting>] [-ThrottleLimit <Int32>] [-WakeOnMagicPacket <Setting>] [-WakeOnPattern <Setting>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Set-NetAdapterPowerManagement [-ArpOffload <Setting>] [-AsJob] [-CimSession <CimSession[]>] [-D0PacketCoalescing <Setting>]
[-DeviceSleepOnDisconnect <Setting>] [-NoRestart] [-NSOffload <Setting>] [-PassThru] [-RsnRekeyOffload <Setting>] [-SelectiveSuspend
<Setting>] [-ThrottleLimit <Int32>] [-WakeOnMagicPacket <Setting>] [-WakeOnPattern <Setting>] -InputObject <CimInstance[]> [-Confirm]
[-WhatIf] [<CommonParameters>]
Set-NetAdapterPowerManagement [-ArpOffload <Setting>] [-AsJob] [-CimSession <CimSession[]>] [-D0PacketCoalescing <Setting>]
[-DeviceSleepOnDisconnect <Setting>] [-IncludeHidden] [-NoRestart] [-NSOffload <Setting>] [-PassThru] [-RsnRekeyOffload <Setting>]
[-SelectiveSuspend <Setting>] [-ThrottleLimit <Int32>] [-WakeOnMagicPacket <Setting>] [-WakeOnPattern <Setting>] -InterfaceDescription
<String[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetAdapterPowerManagement cmdlet sets the power management properties on the network adapter. If only setting the enabled state of the
properties, then run the Enable-NetAdapterPowerManagement or Disable-NetAdapterPowerManagement cmdlet.



<

RELATED LINKS

Disable-NetAdapterPowerManagement
Enable-NetAdapterPowerManagement
Get-NetAdapterPowerManagement

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-NetAdapterPowerManagement -Name Ethernet –DeviceSleepOnDisconnect Enabled



This example enables the device sleep on disconnect feature on the network adapter named Ethernet and restarts the network adapter.