Remove-SCCapabilityProfile

Deletes a capability profile from VMM.

Description

The Remove-SCCapabilityProfile cmdlet deletes a capability profile from System Center Virtual Machine Manager (VMM).

For more information about Remove-SCCapabilityProfile, type: "Get-Help Remove-SCCapabilityProfile -online".

Parameters

CapabilityProfile

Required? false
Accept Pipeline Input? false
Position? named
Specifies a capability profile object.

Confirm

Required? false
Accept Pipeline Input? false
Position? named
Prompts for confirmation before running the command.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 
Requires a VMM capability profile object, which can be retrieved using the Get-SCCapabilityProfile cmdlet.

Examples

1: Delete a specific capability profile.
PS C:\> $CapabilityProfile = Get-SCCapabilityProfile -Name "CapabilityProf01"
PS C:\> Remove-SCCapabilityProfile -CapabilityProfile $CapabilityProfile -Confirm
The first command gets the capability profile object named CapabilityProf01 and stores the object in the $CapabilityProfile variable.

The last command deletes the capability profile stored in $CapabilityProfile (CapabilityProf01), prompting you for confirmation prior to performing the operation.

See Also