Set-SCVirtualNetworkAdapterNativePortProfile

Set-SCVirtualNetworkAdapterNativePortProfile

Sets the properties of a virtual network adapter native port profile.

構文

Parameter Set: Default
Set-SCVirtualNetworkAdapterNativePortProfile [-VirtualNetworkAdapterNativePortProfile] <VirtualNetworkAdapterNativePortProfile> [-AllowIeeePriorityTagging <Boolean]> ] [-AllowMacAddressSpoofing <Boolean]> ] [-AllowTeaming <Boolean]> ] [-Description <String> ] [-EnableDhcpGuard <Boolean]> ] [-EnableGuestIPNetworkVirtualizationUpdates <Boolean]> ] [-EnableIov <Boolean]> ] [-EnableIPsecOffload <Boolean]> ] [-EnableRouterGuard <Boolean]> ] [-EnableVmq <Boolean]> ] [-JobVariable <String> ] [-MaximumBandwidth <Int32]> ] [-MinimumBandwidthAbsolute <Int32]> ] [-MinimumBandwidthWeight <Int32]> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

詳細説明

The Set-SCVirtualNetworkAdapterNativePortProfile cmdlet updates the properties of a virtual network adapter native port profile.

パラメーター

-AllowIeeePriorityTagging<Boolean]>

Specifies whether outgoing packets from the virtual machine adapter are allowed to be tagged with IEEE 802.1p priority. When set to $False, the priority value in the packet is reset to zero.

The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-AllowMacAddressSpoofing<Boolean]>

Specifies whether MAC address spoofing is enabled. MAC address spoofing allows virtual machines to change the source MAC address in outgoing packets to one that is not assigned to them.

The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-AllowTeaming<Boolean]>

Specifies whether guest teaming is allowed. Guest teaming allows the virtual network adapter to be teamed with other network adapters that are connected to the same switch.

The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-Description<String>

States a description for the specified object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableDhcpGuard<Boolean]>

Indicates whether DHCP guard is enabled. DHCP guard drops DHCP server messages from unauthorized virtual machines pretending to be DHCP servers.

The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableGuestIPNetworkVirtualizationUpdates<Boolean]>

Indicates whether IP network virtualization updates by a guest is enabled.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableIov<Boolean]>

Indicates whether single-root I/O virtualization (SR-IOV) is enabled.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableIPsecOffload<Boolean]>

Indicates whether IPsec task offloading is enabled. When sufficient hardware resources are not available, the security associations are not offloaded and are handled in software by the guest operating system. Support from a physical network adapter and the guest operating system is required to offload IPsec tasks.

The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableRouterGuard<Boolean]>

Indicates whether router advertisement and redirection messages from authorized virtual machines pretending to be routers are dropped.

The default value is $False.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-EnableVmq<Boolean]>

Indicates whether virtual machine queue (VMQ) is enabled. A physical network adapter is required to enable VMQ.

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

-MaximumBandwidth<Int32]>

Specifies, in megabits per second (Mbps), the maximum bandwidth for a virtual network adapter port profile. The default value is 0.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-MinimumBandwidthAbsolute<Int32]>

Specifies, in megabits per second (Mbps), the minimum bandwidth for a virtual network adapter port profile. The default value is 0.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-MinimumBandwidthWeight<Int32]>

Specifies the minimum bandwidth relative to how much bandwidth the virtual network adapter intends to use compared to other virtual network adapters connected to the same switch. Valid values are 0 to 100. The default value is 0.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-Name<String>

Specifies the name of a VMM object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

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

-RunAsynchronously

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

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-VirtualNetworkAdapterNativePortProfile<VirtualNetworkAdapterNativePortProfile>

Specifies a virtual network adapter native port profile object.

To obtain a virtual network adapter native port profile object, use the Get-SCVirtualNetworkAdapterNativePortProfile cmdlet.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

True (ByValue)

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

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)。

入力

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

出力

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

Example 1: Enable VMQ for a virtual network adapter native port profile

This command gets the virtual network adapter native port profile object named VirtualNetworkAdapterNativePortProf01, and then uses the pipeline operator to pass the object to Set-SCVirtualNetworkAdapterNativePortProfile. That cmdlet sets the EnableVMQ property to $True for the virtual network adapter native port profile object.

PS C:\> Get-SCVirtualNetworkAdapterNativePortProfile -Name "VirtualNetworkAdapterNativePortProf01" | Set-SCVirtualNetworkAdapterNativePortProfile -EnableVMQ $True

Example 2: Set the maximum and minimum bandwidth for a virtual network adapter native port profile

This command gets the virtual network adapter native port profile object named VirtualNetworkAdapterNativePortProf01, and then uses the pipeline operator to pass the object to Set-SCVirtualNetworkAdapterNativePortProfile. That cmdlet sets the maximum bandwidth for the object to 100 and the minimum bandwidth to 25.

PS C:\> Get-SCVirtualNetworkAdapterNativePortProfile -Name "VirtualNetworkAdapterNativePortProf01" | Set-SCVirtualNetworkAdapterNativePortProfile -MaximumBandwidth 100 -MinimumBandwidthAbsolute 25

関連トピック

Get-SCVirtualNetworkAdapterNativePortProfile

New-SCVirtualNetworkAdapterNativePortProfile

Remove-SCVirtualNetworkAdapterNativePortProfile