Compartir a través de


Get-SCUplinkPortProfileSet

Gets uplink port profile sets.

Syntax

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

Description

The Get-SCUplinkPortProfileSet cmdlet gets uplink port profile sets. You can get all uplink port profile sets. You can specify an uplink port profile set by its name or ID. You can get all uplink port profile sets for a logical switch.

Examples

PS C:\> Get-SCUplinkPortProfileSet -Name "UplinkPortProfileSet01"

This command gets the uplink port profile set named UplinkPortProfileSet01.

PS C:\> $LogSwitch = Get-SCLogicalSwitch -Name "LogicalSwitch01"
PS C:\> Get-SCUplinkPortProfileSet -LogicalSwitch $LogSwitch

The first command gets the logical switch object named LogicalSwitch01, and then stores the object in the $LogSwitch variable.

The second command gets all uplink port profile sets for LogicalSwitch01.

Parameters

-ID

Specifies the unique ID of the uplink port profile set that this cmdlet gets.

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

-LogicalSwitch

Specifies a logical switch for which this cmdlet gets uplink port profile sets.

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

-Name

Specifies the name of the uplink port profile set that this cmdlet gets.

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

-VMMServer

Specifies a VMM server on which this cmdlet gets uplink port profile sets.

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