PowerCLI Reference

Remove-HCXComputeProfile

Synopsis

This cmdlet removes an existing HCX Compute Profile.

Syntax

Remove-HCXComputeProfile -ComputeProfile <HCXComputeProfile> [-Server <HcxServer[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet removes an existing HCX Compute Profile.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ComputeProfileHCXComputeProfileSpecifies the Compute Profile that you want to remove. To retrieve a Compute Profile, use the Get-HCXComputeProfile cmdlet.trueTrue (ByValue)
ConfirmSwitchParameterPrompts you for confirmation before running the cmdlet.falseFalse
ServerHcxServer[]Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.falseFalse
WhatIfSwitchParameterShows what would happen if the cmdlet runs. The cmdlet is not run.falseFalse

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXInterconnectTask

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> $myComputeProfile = Get-HCXComputeProfile -Name "myComputeProfile"
		Remove-HCXComputeProfile -ComputeProfile $myComputeProfile

Removes the Compute Profile.


Copyright © VMware, Inc. All rights reserved.