Get-SCUplinkPortProfileSet
Get-SCUplinkPortProfileSet
Gets an uplink port profile set.
Syntax
Parameter Set: All
Get-SCUplinkPortProfileSet [[-Name] <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: ById
Get-SCUplinkPortProfileSet [[-Name] <String> ] -ID <Guid> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: LogicalSwitch
Get-SCUplinkPortProfileSet [[-Name] <String> ] -LogicalSwitch <LogicalSwitch> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCUplinkPortProfileSet cmdlet gets uplink port profile sets. You can get all uplink port profile sets, an uplink port profile set by its name or ID, or all uplink port profile sets for a particular logical switch.
Parameters
-ID<Guid>
Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-LogicalSwitch<LogicalSwitch>
Specifies a logical switch object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a VMM object.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get an uplink port profile set by its name
This command gets the uplink port profile set named UplinkPortProfileSet01.
PS C:\> Get-SCUplinkPortProfileSet -Name "UplinkPortProfileSet01"
Example Example 2: Get all uplink port profile sets for a logical switich.i
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 and displays them.
PS C:\> $LogSwitch = Get-SCLogicalSwitch -Name "LogicalSwitch01"
PS C:\> Get-SCUplinkPortProfileSet -LogicalSwitch $LogSwitch