New-SCNativeUplinkPortProfile
建立原生上行通訊埠設定檔。
Syntax
New-SCNativeUplinkPortProfile
[-LogicalNetworkDefinition <LogicalNetworkDefinition[]>]
[-VMMServer <ServerConnection>]
[-Name] <String>
[-Description <String>]
[-EnableNetworkVirtualization <Boolean>]
[-LBFOLoadBalancingAlgorithm <NetworkAdapterLBFOLoadBalancingAlgorithm>]
[-LBFOTeamMode <NetworkAdapterLBFOTeamMode>]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Description
New-SCNativeUplinkPortProfile Cmdlet 會建立原生上行通訊埠設定檔的物件。
範例
範例 1:使用邏輯網路定義建立原生上行通訊埠設定檔
PS C:\> $LogNetDefinition = Get-SCLogicalNetworkDefinition -Name "Logical Network Definition 01"
PS C:\> New-SCNativeUplinkPortProfile -Name "NativeUplinkPortProfile01" -LogicalNetworkDefinition $LogNetDefinition -EnableNetworkVirtualization $True
第一個命令會取得名為邏輯網路定義 01 的邏輯網路定義物件,並將物件儲存在$LogNetDefinition變數中。
第二個命令會使用名為邏輯網路定義 01 的網路定義物件,建立名為 NativeUplinkPortProfile01 的原生上行通訊埠設定檔,並啟用網路虛擬化。
參數
-Description
指定埠設定檔的描述。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableNetworkVirtualization
指出是否啟用網路虛擬化。 預設值為 $False。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
指定追蹤和儲存作業進度的變數。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LBFOLoadBalancingAlgorithm
指定負載平衡和容錯移轉的負載平衡演算法, (LBFO) 網路介面卡。 此參數可接受的值為:
- TransortPorts
- IPAddresses
- MACAddresses
- HyperVPort
- 動態
- HostDefault
Type: | NetworkAdapterLBFOLoadBalancingAlgorithm |
Accepted values: | TransportPorts, IPAddresses, MacAddresses, HyperVPort, Dynamic, HostDefault |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LBFOTeamMode
指定負載平衡和容錯移轉的小組模式, (LBFO) 網路介面卡。
Type: | NetworkAdapterLBFOTeamMode |
Accepted values: | Static, SwitchIndependent, Lacp |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LogicalNetworkDefinition
指定邏輯網路定義 (也稱為網站) ,其中包含 IP 位址池所服務的子網。 子網是由 Subnet 參數所指定。
Type: | LogicalNetworkDefinition[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
指定 Virtual Machine Manager (VMM) 物件的名稱。
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROTipID
指定觸發此動作 (PRO 提示) 效能和資源優化提示的識別碼。 此參數可讓您稽核 PRO 秘訣。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
表示作業會以非同步方式執行,讓控制項立即返回命令殼層。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
指定 VMM 伺服器物件。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |