PowerShell Logo Small

Set-NetAdapterSriov



This is the built-in help made by Microsoft for the command 'Set-NetAdapterSriov', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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 Single-Root I/O Virtualization (SR-IOV) properties of the network adapter, such as the number of virtual functions (VFs), the number of virtual ports (VPorts), and the number of queue pairs for default and non-default VPorts.

SYNTAX


Set-NetAdapterSriov [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-Enabled <Boolean>] [-IncludeHidden] [-NoRestart] [-NumVFs <UInt32>] [-PassThru] [-Throt
tleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetAdapterSriov [-AsJob] [-CimSession <CimSession[]>] [-Enabled <Boolean>] [-NoRestart] [-NumVFs <UInt32>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimI
nstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetAdapterSriov [-AsJob] [-CimSession <CimSession[]>] [-Enabled <Boolean>] [-IncludeHidden] [-NoRestart] [-NumVFs <UInt32>] [-PassThru] [-ThrottleLimit <Int32>] -
InterfaceDescription <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetAdapterSriov cmdlet sets the Single-Root I/O Virtualization (SR-IOV) properties of the network adapter. The properties include the number of virtual functi
ons (VFs), the number of virtual ports (VPorts), and the number of queue pairs for default and non-default VPorts. The enabled state of SR-IOV can also be set with th
e cmdlet.


The network adapter for these actions can be specified with the adapter name, interface description, or piped as an input object.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287430
Disable-NetAdapterSriov
Enable-NetAdapterSriov
Get-NetAdapterSriov
Get-NetAdapterSriovVf

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-NetAdapterSriov -Name "Ethernet 2" -NumVFs 31



This example sets the number of VFs available to 31 on the network adapter named Ethernet 2.




EXAMPLE 2

PS C:\>Set-NetAdapterSriov -Name "Ethernet 2" -NumVFs 31 -VPorts 64 -NumQueuePairsForDefaultVPort 2 -NumQueuePairsForNonDefaultVPort 2



This example sets the number of VFs to 31 and the total number of VPorts to 64. This will result in 31 VF and 32 virtual machine queue (VMQ), plus 1 used by the physi
cal function (PF). Since the number of queue pair is set to 2 for both default and non-default ports, the total number of queue pairs used will be 128.