PowerShell Logo Small

Set-NetLbfoTeamNic



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

Sets a new VLAN id on a team interface, or restores the interface to Default mode.

SYNTAX


Set-NetLbfoTeamNic [[-Name] <String[]>] [[-Team] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-Default] [-PassThru] [-ThrottleLimit <Int32>] [-VlanID <UInt32>]
[-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetLbfoTeamNic [-AsJob] [-CimSession <CimSession[]>] [-Default] [-PassThru] [-ThrottleLimit <Int32>] [-VlanID <UInt32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
Set-NetLbfoTeamNic [-AsJob] [-CimSession <CimSession[]>] [-Default] [-PassThru] [-TeamOfTheTeamNic <CimInstance>] [-ThrottleLimit <Int32>] [-VlanID <UInt32>] [-Confirm]
[-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetLbfoTeamNic cmdlet sets the optional values on a team interface. Only the team interface that was created when the team was created can be set to Default mode.


You need administrator privileges to use Set-NetLbfoTeamNic.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=294346
Add-NetLbfoTeamNic
Get-NetLbfoTeamNic
Remove-NetLbfoTeamNic

REMARKS

<

Examples


Example 1: Set the VLAN ID

PS C:\>Set-NetLbfoTeamNIC -Name "Team1 – VlanID 42" -VlanID 15



This command modifies the current VLAN ID of the team interface named “Team1 – VLAN 42” to the specified VLAN ID 15.




Example 2: Set the VLAN ID of the primary interface to 5, and then revert it to default

PS C:\> Set-NetLbfoTeamNic -Name Team1 -VlanID 5

This command changes the primary team interface, “Team1 – VLAN 5” to default mode.
PS C:\> Set-NetLbfoTeamNic –Name "Team1 – VLAN 5" –Default



This command sets the VLAN ID of the primary team interface named Team1 to 5.