Remove-SCApplicationProfile

Deletes an application profile.

Description

The Remove-SCApplicationProfile cmdlet deletes an application profile from System Center Virtual Machine Manager (VMM).

For more informatoin about Remove-SCApplicationProfile, type: "Get-Help Remove-SCApplicationProfile -online".

Parameters

ApplicationProfile

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies an application 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. 

Examples

1: Remove a specific application profile.
PS C:\> $AppProfile = Get-SCApplicationProfile -Name "SvcWebAppProfile01"
PS C:\> Remove-SCApplicationProfile -ApplicationProfile $AppProfile -Confirm
The first command gets the application profile object named SvcWebAppProfile01 and stores the object in the $AppProfile variable.

The second command removes the application profile stored in $AppProfile. A confirmation prompt is displayed before the profile is removed.

See Also