Set-SCVirtualNetworkAdapterPortProfileSet

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

Syntax

Set-SCVirtualNetworkAdapterPortProfileSet
   [-IsDefaultPortProfileSet <Boolean>]
   [-LogicalSwitch <LogicalSwitch>]
   [-PortClassification <PortClassification>]
   [-VirtualNetworkAdapterNativePortProfile <VirtualNetworkAdapterNativePortProfile>]
   [-AddVirtualNetworkAdapterExtensionPortProfiles <VirtualNetworkAdapterExtensionPortProfile[]>]
   [-RemoveVirtualNetworkAdapterExtensionPortProfiles <VirtualNetworkAdapterExtensionPortProfile[]>]
   [-VMMServer <ServerConnection>]
   [-VirtualNetworkAdapterPortProfileSet] <VirtualNetworkAdapterPortProfileSet>
   [-Name <String>]
   [[-Description] <String>]
   [-RemoveVirtualNetworkAdapterNativePortProfile]
   [-JobGroup <Guid>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [<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[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Description

Specifies a description for the port profile set.

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

-IsDefaultPortProfileSet

Indicates whether this is the default port profile set.

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

-LogicalSwitch

Specifies a logical switch object.

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

-Name

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

Type:String
Position:Named
Default value:None
Required:False
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
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

-RemoveVirtualNetworkAdapterExtensionPortProfiles

Specifies an array of virtual network adapter extension port profiles.

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

-RemoveVirtualNetworkAdapterNativePortProfile

Indicates that this cmdlet removes the specified virtual network adapter native 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

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

-VMMServer

Specifies a VMM server object.

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