This is the built-in help made by Microsoft for the command 'Set-NetLbfoTeamNic', 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.
Sets a new VLAN id on a team interface, or restores the interface to Default mode.
Set-NetLbfoTeamNic [[-Name] <String[]>] [[-Team] <String[]>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Default
[<SwitchParameter>]] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>] [-VlanID <UInt32>] [<CommonParameters>]
Set-NetLbfoTeamNic [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Default [<SwitchParameter>]] [-PassThru [<SwitchParameter>]]
[-TeamOfTheTeamNic <CimInstance>] [-ThrottleLimit <Int32>] [-VlanID <UInt32>] [<CommonParameters>]
Set-NetLbfoTeamNic [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Default [<SwitchParameter>]] [-PassThru [<SwitchParameter>]]
[-ThrottleLimit <Int32>] [-VlanID <UInt32>] -InputObject <CimInstance[]> [<CommonParameters>]
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.
<
Add-NetLbfoTeamNic
Get-NetLbfoTeamNic
Remove-NetLbfoTeamNic
<
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.