Removes an application package from the VMM library.
Description
The Remove-SCApplicationPackage cmdlet deletes an application pacakge from the System Center Virtual Machine Manager (VMM) library.
For more informatoin about Remove-SCApplicationPackage, type: "Get-Help Remove-SCApplicationPackage -online".
Parameters
ApplicationPackage
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies an application package object.
Confirm
Required?
false
Accept Pipeline Input?
false
Position?
named
Prompts for confirmation before running the command.
Force
Required?
false
Accept Pipeline Input?
false
Position?
named
Forces the operation to complete.
For example:
- Remove-SCSCVMHost -Force
Forces the removal of a host object from the VMM database.
- Stop-SCVirtualMachine -Force
Stops a virtual machine.
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.
The first command gets the application package object named AppPackage01 with the release value of Beta and stores the object in the $AppPackage variable.
The second command removes the application pacakge stored in $AppPackage.