PowerShell Logo Small

Enable-NetAdapterQos



This is the built-in help made by Microsoft for the command 'Enable-NetAdapterQos', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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

Enables quality of service (QoS) on the network adapter, specifically data center bridging (DCB).

SYNTAX


Enable-NetAdapterQos [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-IncludeHidden] [-NoRestart] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Enable-NetAdapterQos [-AsJob] [-CimSession <CimSession[]>] [-NoRestart] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
Enable-NetAdapterQos [-AsJob] [-CimSession <CimSession[]>] [-IncludeHidden] [-NoRestart] [-PassThru] [-ThrottleLimit <Int32>] -InterfaceDescription <String[]> [-Confirm]
[-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Enable-NetAdapterQos cmdlet enables quality of service (QoS) on a network adapter. The QoS features, which include traffic class bandwidth allocation and priority based
flow control, are specified in the IEEE data center bridging (DCB) standard. When QoS is enabled and the computer is configured not to accept configurations from a remote
device, the computer will send to the network adapter the user-generated configurations for the QoS features. For more information about the configuring the computer not to
accept configurations from a remote device, see the Set-NetQosDcbxSetting cmdlet. Otherwise, the network adapter will enable the QoS features based on either the factory
default configurations or what it receives from the remote device.


To configure traffic class bandwidth allocation and priority based flow control on the computer, users can run the New-NetQosTrafficClass and the Enable-NetQosFlowControl
cmdlets.


Some switches expect end stations, such as computers running Windows Server® 2012 or later, to accept configurations from the switches. If the switches detect a mismatched
configuration via the data center bridging exchange (DCBX) protocol, then the switches disable the DCB functionalities. To overcome this limitation, users can disable DCBX
on either the switches or the network adapters and manually configure the features on either end.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287388
Disable-NetAdapterQos
Get-NetAdapter
Get-NetAdapterQos
Enable-NetQosFlowControl
New-NetQosTrafficClass
Set-NetQosDcbxSetting

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Enable-NetAdapterQos –Name "DCBNIC1"



This example enables QoS on a network adapter named DCBNIC1 and restarts the network adapter.




EXAMPLE 2

This example gets all network adapters that support QoS, enables QoS on all of them, and restarts the network adapter.
PS C:\> $netadapter1 = Get-NetAdapterQos –Name *
PS C:\> Enable-NetAdapterQos –InputObject $netadapter1

This is a version of the cmdlet that gets all network adapters that support QoS and enables QoS on all of them via the pipeline, then restarts the network adapter.
PS C:\> Get-NetAdapterQos –Name * | Enable-NetAdapterQos