Freigeben über


Set-SCUplinkPortProfileSet

Modifies an uplink port profile set.

Syntax

Set-SCUplinkPortProfileSet
   [-NativeUplinkPortProfile <NativeUplinkPortProfile>]
   [-AddExtensionUplinkPortProfiles <ExtensionUplinkPortProfile[]>]
   [-RemoveExtensionUplinkPortProfiles <ExtensionUplinkPortProfile[]>]
   [-VMMServer <ServerConnection>]
   [-UplinkPortProfileSet] <UplinkPortProfileSet>
   [-Name <String>]
   [[-Description] <String>]
   [-LogicalSwitch <LogicalSwitch>]
   [-RemoveNativeUplinkPortProfile]
   [-JobGroup <Guid>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [<CommonParameters>]

Description

The Set-SCUplinkPortProfileSet cmdlet modifies the properties of an uplink port profile set.

Examples

PS C:\> Get-SCUplinkPortProfileSet -Name "UplinkPortProfileSet01" | Set-SCUplinkPortProfileSet -RemoveNativeUplinkPortProfile

This command gets the uplink port profile set object named UplinkPortProfileSet01, and then passes it to the current cmdlet. Set-SCUplinkPortProfileSet removes the native uplink port profile from the uplink port profile set.

Parameters

-AddExtensionUplinkPortProfiles

Specifies an array of uplink port profile objects that this cmdlet adds.

Type:ExtensionUplinkPortProfile[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Description

Specifies a description for the uplink port profile set.

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

-JobGroup

Specifies an identifier for a series of commands that runs as a set just before the final command that includes the same job group identifier runs.

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

-JobVariable

Specifies a variable in which job progress is tracked and stored.

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

-LogicalSwitch

Specifies a logical switch that this cmdlet includes in the uplink port profile set. To obtain a logical switch object, use the Get-SCLogicalSwitch cmdlet.

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

-Name

Specifies the name of a VMM in which this cmdlet modifies an uplink port profile set.

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

-NativeUplinkPortProfile

Specifies a native uplink port profile that this cmdlet assigns to the new uplink port profile set.

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

-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

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

-RemoveExtensionUplinkPortProfiles

Specifies an array of extension uplink port profiles that this cmdlet removes from the port profile set.

Type:ExtensionUplinkPortProfile[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-RemoveNativeUplinkPortProfile

Indicates that this cmdlet removes the native uplink port profile.

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

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

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

-UplinkPortProfileSet

Specifies the uplink port profile set that this cmdlet modifies. To obtain an uplink port profile set object, use the Get-SCUplinkPortProfileSet cmdlet.

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

-VMMServer

Specifies a VMM server on which this cmdlet modifies an uplink port profile set.

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