Remove-SCVMHostNetworkAdapterProfile

Removes a host network adapter profile.

Syntax

Remove-SCVMHostNetworkAdapterProfile
 [-PhysicalComputerNetworkAdapterProfile] <PhysicalComputerNetworkAdapterProfile> [-Force]
 [-JobVariable <String>] [-PROTipID <Guid>] [-RunAsynchronously] [<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
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
-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
-PhysicalComputerNetworkAdapterProfile

Specifies a physical computer network adapter profile object.

Type:PhysicalComputerNetworkAdapterProfile
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
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