Remove-SCVMHostNetworkAdapterProfile

Removes a host network adapter profile.

Syntax

Remove-SCVMHostNetworkAdapterProfile
      [-PhysicalComputerNetworkAdapterProfile] <PhysicalComputerNetworkAdapterProfile>
      [-Force]
      [-RunAsynchronously]
      [-PROTipID <Guid>]
      [-JobVariable <String>]
      [<CommonParameters>]

Description

The Remove-SCVMHostNetworkAdapterProfile cmdlet removes a host network adapter profile.

Examples

Example 1: Delete a host network adapter profile

PS C:\> Get-SCVMHostNetworkAdapterProfile -ID "259f47c7-c5a9-429d-a421-d232f9b34991" | Remove-SCVMHostNetworkAdapterProfile

This command gets the host network adapter profile object with the ID of 259f47c7-c5a9-429d-a421-d232f9b34991 and then uses the pipeline operator to Remove-SCVMHostNetworkAdapterProfile, which deletes the host network adapter profile.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
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

-PhysicalComputerNetworkAdapterProfile

Specifies a physical computer network adapter profile object.

Type:PhysicalComputerNetworkAdapterProfile
Position:0
Default value:None
Required:True
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

-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