Get-SCPortClassification

Gets a port classification.

Syntax

Get-SCPortClassification
   [-VMMServer <ServerConnection>]
   [[-Name] <String>]
   [<CommonParameters>]
Get-SCPortClassification
   [-VMMServer <ServerConnection>]
   [[-Name] <String>]
   [-ID <Guid>]
   [<CommonParameters>]

Description

The Get-SCPortClassification cmdlet gets one or more port classification objects.

Examples

Example 1: Get a port classification by its name

PS C:\> Get-SCPortClassification -Name "PortClass01"

This command gets the port classification object named PortClass01.

Parameters

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False