Set-SCNativeUplinkPortProfile

Set-SCNativeUplinkPortProfile

Updates a native uplink port profile.

構文

Parameter Set: Default
Set-SCNativeUplinkPortProfile [-NativeUplinkPortProfile] <NativeUplinkPortProfile> [-AddLogicalNetworkDefinition <LogicalNetworkDefinition[]> ] [-Description <String> ] [-EnableNetworkVirtualization <Boolean]> ] [-JobVariable <String> ] [-LBFOLoadBalancingAlgorithm <NetworkAdapterLBFOLoadBalancingAlgorithm]> ] [-LBFOTeamMode <NetworkAdapterLBFOTeamMode]> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RemoveLogicalNetworkDefinition <LogicalNetworkDefinition[]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

詳細説明

The Set-SCNativeUplinkPortProfile cmdlet updates a native uplink port profile. You can add or remove a logical network definition.

パラメーター

-AddLogicalNetworkDefinition<LogicalNetworkDefinition[]>

Adds the specified logical network definition object or objects.

To get a logical network definition object, use the Get-SCLogicalNetworkDefinition cmdlet.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

True (ByValue)

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

false

-Description<String>

States a description for the specified object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableNetworkVirtualization<Boolean]>

Indicates whether network virtualization is enabled. The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-JobVariable<String>

Specifies that job progress is tracked and stored in the variable named by this parameter.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-LBFOLoadBalancingAlgorithm<NetworkAdapterLBFOLoadBalancingAlgorithm]>

Specifies a load balancing and failover (LBFO) network adapter load balancing algorithm. Valid values are:

-- TransortPorts
-- IPAddresses
-- MACAddresses
-- HyperVPort
-- Dynamic
-- HostDefault

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-LBFOTeamMode<NetworkAdapterLBFOTeamMode]>

Specifies a load balancing and failover (LBFO) network adapter team mode.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-Name<String>

Specifies the name of a VMM object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-NativeUplinkPortProfile<NativeUplinkPortProfile>

Specifies a native uplink port profile object.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

True (ByValue)

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

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-RemoveLogicalNetworkDefinition<LogicalNetworkDefinition[]>

Removes the specified logical network definition object or objects.

To get a logical network definition object, use the Get-SCLogicalNetworkDefinition cmdlet.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

True (ByValue)

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

false

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

True (ByValue)

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

false

<CommonParameters>

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

入力

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

出力

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

The first command gets the logical network definition object named Logical Network Definition 01, and then stores the object in the $LogNetDefinition variable.

The second command gets the native uplink port profile object named NativeUplinkPortProfile01, and then uses the pipeline operator to pass the object to Set-SCNativeUplinikPortProfile, which removes Logical Network Definition 01 from NativeUplinkPortProfile01.

PS C:\> $LogNetDefinition = Get-SCLogicalNetworkDefinition -Name "Logical Network Definition 01"
PS C:\> Get-SCNativeUplinkPortProfile -Name "NativeUplinkPortProfile01" | Set-SCNativeUplinkPortProfile -RemoveLogicalNetworkDefinition $LogNetDefinition

関連トピック

Get-SCLogicalNetworkDefinition

Get-SCNativeUplinkPortProfile

New-SCNativeUplinkPortProfile

Remove-SCNativeUplinkPortProfile