
AdminStudio 2013 Release Notes ADM-2013-RN5 43
Release Notes
Deleting Packages, Applications, and Groups
AdminStudio 2013 includes the following Platform API commands to delete packages, applications, and
groups:
• Remove-ASPackage
• Remove-ASApplication
• Remove-ASGroup
Remove-ASPackage
You can use the Remove-ASPackage command to delete a package using its PackageId.
Note • The Remove-ASPackage command removes the linked packages and applications as well as the
targeted packages and applications for each respective operation.
Example
The following is the syntax used to delete a package:
Remove-ASPackage PackageID
For example:
Remove-ASPackage 895
Returns
One of the following values is returned:
• 0—Success. The delete operation completed successfully.
• 1—Insufficient access rights. Permission to Delete is not available.
• 2—Object is locked. The group contains locked virtual packages. You will need to unlock the virtual
packages in order to delete the group.
• 3—General failure. Operation did not complete successfully.
• 4—Protected group. The deletion of protected groups is prohibited.
• 5—Item not found. The requested item could not be deleted because it could not be found.
Commenti su questo manuale