Add-NetLbfoTeamMember

Add-NetLbfoTeamMember

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

構文

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

詳細説明

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.

パラメーター

-AdministrativeMode<AdminModes>

Specifies the initial role of the new member (network adapter).

You can specify one of the following two status options:

Active: Allows the team member to participate in the NIC team. By default, the initial role of the team member is Active.

Standby: Places the member in a standby state where it does not participate in the team. The team member will be automatically moved to Active state if any other member of the team fails.

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

エイリアス

am

必須?

false

位置は?

3

既定値

Active

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Name<WildcardPattern>

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

エイリアス

ifAlias,InterfaceAlias

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Team<String>

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

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

    This cmdlet takes no input objects.

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • MSFT_NetLbfoTeamMember

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

Example 1: Add a new team member

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

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

Example 2: Add a new team member with initial status

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

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

Example 3: Add new team members using wildcard pattern

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

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

関連トピック

Get-NetLbfoTeamMember

Set-NetLbfoTeamMember

Remove-NetLbfoTeamMember