Get-SCPortClassification
取得埠分類。
Syntax
Get-SCPortClassification
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[<CommonParameters>]
Get-SCPortClassification
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[-ID <Guid>]
[<CommonParameters>]
Description
Get-SCPortClassification Cmdlet 會取得一或多個埠分類物件。
範例
範例 1:依其名稱取得埠分類
PS C:\> Get-SCPortClassification -Name "PortClass01"
此命令會取得名為 PortClass01 的埠分類物件。
參數
-ID
將數值識別碼指定為特定物件的全域唯一識別碼或 GUID。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
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 |
-VMMServer
指定 VMM 伺服器物件。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |