Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Add-NetLbfoTeamMember

Last Updated: 3/8/2017

SYNOPSIS

Adds a new member (network adapter) to a specified NIC team.

SYNTAX

Add-NetLbfoTeamMember [-Name] <WildcardPattern> [-Team] <String> [[-AdministrativeMode] <AdminModes>]
 [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Add-NetLbfoTeamMember cmdlet adds a new network adapter as a member to the specified team. You can use the AdministrativeMode parameter to specify the initial role of the new team member.

EXAMPLES

Example 1: Add a new team member

PS C:\> Add-NetLbfoTeamMember -Name "NIC1" -Team "Team1"

This command adds a new member named NIC1 to the specified team named Team1.

Example 2: Add a new team member with initial status

PS C:\> Add-NetLbfoTeamMember -Name "NIC2" -Team "Team2" -AdministrativeMode Standby

This command adds a new member named NIC2 to the specified team named Team2 with the initial status Standby.

Example 3: Add new team members using wildcard pattern

PS C:\> Add-NetLbfoTeamMember -Name "NIC*" -Team "Team1"

This command adds new members whose name starts with NIC to the specified team named Team1.

PARAMETERS

-AdministrativeMode

Specifies the initial role of the new member (network adapter). The acceptable values for this parameter are:

  • Active. Allows the team member to participate in the NIC team.
  • Standby. Places the member in a standby state where it does not participate in the team. The team member is automatically moved to the Active state if any other member of the team fails.

By default, the initial role of the team member is Active.

At most one member in a team can be in Standby mode.

Type: AdminModes
Parameter Sets: (All)
Aliases: am
Accepted values: Active, Standby

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Type: CimSession[]
Parameter Sets: (All)
Aliases: Session

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name (Interface Alias or Connection Name) of the network adapter to add.

Type: WildcardPattern
Parameter Sets: (All)
Aliases: ifAlias, InterfaceAlias

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Team

Specifies the name of the NIC team to which to add the new network adapter.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

This cmdlet takes no input objects.

OUTPUTS

MSFT_NetLbfoTeamMember

This cmdlet returns an array of MSFT_NetLbfoTeamMember objects consisting of the newly added member network adapter objects to the team.

NOTES

Get-NetLbfoTeamMember

Remove-NetLbfoTeamMember

Set-NetLbfoTeamMember

© 2017 Microsoft