Set-SCVirtualNetworkAdapterPortProfileSet

Sets the properties of a virtual network adapter port profile set.

Syntax

Set-SCVirtualNetworkAdapterPortProfileSet
 [-VirtualNetworkAdapterPortProfileSet] <VirtualNetworkAdapterPortProfileSet> [[-Description] <String>]
 [-AddVirtualNetworkAdapterExtensionPortProfiles <VirtualNetworkAdapterExtensionPortProfile[]>]
 [-IsDefaultPortProfileSet <Boolean>] [-JobGroup <Guid>] [-JobVariable <String>]
 [-LogicalSwitch <LogicalSwitch>] [-Name <String>] [-PROTipID <Guid>]
 [-PortClassification <PortClassification>]
 [-RemoveVirtualNetworkAdapterExtensionPortProfiles <VirtualNetworkAdapterExtensionPortProfile[]>]
 [-RemoveVirtualNetworkAdapterNativePortProfile] [-RunAsynchronously] [-VMMServer <ServerConnection>]
 [-VirtualNetworkAdapterNativePortProfile <VirtualNetworkAdapterNativePortProfile>] [<CommonParameters>]

Description

The Set-SCVirtualNetworkAdapterPortProfileSet cmdlet updates the properties of a virtual network adapter port profile set object.

Examples

Example 1: Remove a virtual network adapter native port profile from a virtual network adapter port profile set

PS C:\> Get-SCVirtualNetworkAdapterPortProfileSet -Name "VirtualNetworkAdapterPortProfSet01" | Set-SCVirtualNetworkAdapterPortProfileSet -RemoveVirtualNetworkAdapterNativePortProfile

This command gets the virtual network adapter port profile set object named VirtualNetworkAdapterPortProfSet01 and uses the pipeline operator to pass the object to Set-SCVirtualNetworkAdapterPortProfileSet, which removes the virtual network adapter native port profile from the virtual network adapter port profile set object.

Parameters

-AddVirtualNetworkAdapterExtensionPortProfiles

Specifies an array of virtual network adapter extension port profiles that this cmdlet adds.

Type:VirtualNetworkAdapterExtensionPortProfile[]
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Description

Specifies a description for the port profile set.

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

Indicates whether this is the default port profile set.

Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobGroup

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

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

Specifies that job progress is tracked and stored in the variable named by this parameter.

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

Specifies a logical switch object.

Type:LogicalSwitch
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

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

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PortClassification

Specifies the port classification of the switch to which the virtual network adapter connects.

Type:PortClassification
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RemoveVirtualNetworkAdapterExtensionPortProfiles

Specifies an array of virtual network adapter extension port profiles.

Type:VirtualNetworkAdapterExtensionPortProfile[]
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RemoveVirtualNetworkAdapterNativePortProfile

Indicates that this cmdlet removes the specified virtual network adapter native port profile.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VirtualNetworkAdapterNativePortProfile

Specifies a virtual network adapater native port profile object.

To obtain a virtual network adapter native port profile object, use the Get-SCVirtualNetworkAdapterNativePortProfile cmdlet.

Type:VirtualNetworkAdapterNativePortProfile
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VirtualNetworkAdapterPortProfileSet

Specifies a virtual network adapter port profile set object.

To obtain a virtual network adapter port profile set object, use the Get-SCVirtualNetworkAdapterPortProfileSetcmdlet.

Type:VirtualNetworkAdapterPortProfileSet
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False