Get-SCVirtualNetworkAdapterPortProfileSet
Get-SCVirtualNetworkAdapterPortProfileSet
Gets a virtual network adapter port profile set.
構文
Parameter Set: All
Get-SCVirtualNetworkAdapterPortProfileSet [[-Name] <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: ById
Get-SCVirtualNetworkAdapterPortProfileSet [[-Name] <String> ] -ID <Guid> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: LogicalSwitch
Get-SCVirtualNetworkAdapterPortProfileSet [[-Name] <String> ] -LogicalSwitch <LogicalSwitch> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
詳細説明
The Get-SCVirtualNetworkAdapterPortProfileSet cmdlet gets one or more virtual network adapter port profile sets. You can get a virtual network adapter port profile set by its name or ID, or all virtual network adapter port profile sets for a logical switch.
パラメーター
-ID<Guid>
Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-LogicalSwitch<LogicalSwitch>
Specifies a logical switch object.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of a VMM object.
エイリアス |
none |
必須? |
false |
位置は? |
1 |
既定値 |
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)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get a virtual network adapter port profile set by its name
This command gets the virtual network adapter port profile set object named VirtualNetworkAdapterPortProfileSet01, and displays information about the object.
PS C:\> Get-SCVirtualNetworkAdapterPortProfileSet -Name "VirtualNetworkAdapterPortProfSet01"
Example Example 2: Get all virtual network adapter port profile sets for a logical switch.
The first command gets the logical switch object named LogicalSwitch01, and then stores the object in the $LogSwitch variable.
The second command gets all virtual network adapter port profile sets that use logical switch LogicalSwitch01.
PS C:\> $LogSwitch = Get-SCLogicalSwitch -Name "LogicalSwitch01"
PS C:\> Get-SCVirtualNetworkAdapterPortProfileSet -LogicalSwitch $LogSwitch
関連トピック
New-SCVirtualNetworkAdapterPortProfileSet
Remove-SCVirtualNetworkAdapterPortProfileSet