Get-SCUplinkPortProfileSet
Gets uplink port profile sets.
Syntax
All (Default)
Get-SCUplinkPortProfileSet
[[-Name] <String>]
[-VMMServer <ServerConnection>]
[<CommonParameters>]
ById
Get-SCUplinkPortProfileSet
[[-Name] <String>]
-ID <Guid>
[-VMMServer <ServerConnection>]
[<CommonParameters>]
LogicalSwitch
Get-SCUplinkPortProfileSet
[[-Name] <String>]
-LogicalSwitch <LogicalSwitch>
[-VMMServer <ServerConnection>]
[<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
Example 1: Get an uplink port profile set by its name
PS C:\> Get-SCUplinkPortProfileSet -Name "UplinkPortProfileSet01"
This command gets the uplink port profile set named UplinkPortProfileSet01.
Example 2: Get all uplink port profile sets for a logical swtich
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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ById
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-LogicalSwitch
Specifies a logical switch for which this cmdlet gets uplink port profile sets.
Parameter properties
Type: | LogicalSwitch |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
LogicalSwitch
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of the uplink port profile set that this cmdlet gets.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server on which this cmdlet gets uplink port profile sets.
Parameter properties
Type: | ServerConnection |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.