Get-SCLogicalSwitchVirtualNetworkAdapter
取得邏輯交換器虛擬網路介面卡。
Syntax
Get-SCLogicalSwitchVirtualNetworkAdapter
[[-Name] <String>]
[-VMMServer <ServerConnection>]
[-UplinkPortProfileSet <UplinkPortProfileSet>]
[<CommonParameters>]
Get-SCLogicalSwitchVirtualNetworkAdapter
[[-Name] <String>]
[-VMMServer <ServerConnection>]
-ID <Guid>
[-UplinkPortProfileSet <UplinkPortProfileSet>]
[<CommonParameters>]
Description
Get-SCLogicalSwitchVirtualNetworkAdapter Cmdlet 會取得邏輯交換器虛擬網路介面卡。
範例
範例 1:取得邏輯交換器虛擬網路介面卡
PS C:\> $HostVNicVar = Get-SCLogicalSwitchVirtualNetworkAdapter -Name "LogSw01_hostMgmt"
此命令會依其名稱取得邏輯交換器虛擬網路介面卡。
參數
-ID
將數值識別碼指定為特定物件的全域唯一識別碼或 GUID。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定 Virtual Machine Manager (VMM) 物件的名稱。
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UplinkPortProfileSet
指定上行通訊埠設定檔集物件。
若要取得上行通訊埠設定檔集物件,請使用 Get-SCUplinkPortProfileSet Cmdlet。
Type: | UplinkPortProfileSet |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMMServer
指定 VMM 伺服器物件。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |