PowerShell Logo Small

Enable-NetAdapterSriov



This is the built-in help made by Microsoft for the command 'Enable-NetAdapterSriov', 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

Enables Single-Root I/O Virtualization (SR-IOV) on the network adapter.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Enable-NetAdapterSriov cmdlet enables Single-Root I/O Virtualization (SR-IOV) on the network adapter. SR-IOV enables network traffic to
by-pass the software switch layer of the Hyper-V virtualization stack. As a result, the I/O overhead in the software emulation layer is
diminished and can achieve network performance that is nearly the same performance as in non-virtualized environments. SR-IOV can only be used
if enabled on the network adapter.



<

RELATED LINKS

Disable-NetAdapterSriov
Get-NetAdapter
Get-NetAdapterSriov
Get-NetAdapterSriovVf
Get-NetAdapterSriov

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Enable-NetAdapterSriov -Name "Ethernet 1"



This example enables SR-IOV for the network adapter named Ethernet 1 and restarts the network adapter.




EXAMPLE 2

PS C:\>Enable-NetAdapterSriov -InterfaceDescription "Contoso 12345 Gigabit Network Device"



This example enables SR-IOV for the network adapter with the description Contoso 12345 Gigabit Network Device and restarts the network adapter.




EXAMPLE 3

PS C:\>$netAdapter = Get-NetAdapter -Name "Ethernet 2"



PS C:\>Enable-NetAdapterSriov –InputObject $netAdapter


This is a version of the cmdlet that selects the network adapter and pipes the network adapter object into this cmdlet.
PS C:\>Get-NetAdapter -Name "Ethernet 2" | Enable-NetAdapterSriov



This example inputs the network adapter object into this cmdlet.