Previous Topic: Delete a PolicyNext Topic: Variables


Delete a Policy Version

You can delete saved policy versions (POLICY object) that you no longer need. When you delete a policy version (POLICY object), CA ControlMinder Enterprise Management deletes all deployment and undeployment scripts associated with the policy version.

To delete a policy version, run the following command:

policydeploy -delete name#xx [-dms list]
-delete name#xx

Deletes the specified policy version.

-dms list

(Optional) Specifies a comma-separated list of DMS nodes from which to delete the policy version. If you do not specify DMS nodes, the policydeploy utility uses the list of DMS nodes specified in the local CA ControlMinder database.

Example: Delete an IIS 5 Protection Policy Version

The following example shows you how to delete the unassigned policy version IIS5#05 from the DMS. In this example, policy version IIS5#05 is not assigned to any hosts or host groups and is stored on the crDMS@cr_host.company.com DMS node.

To delete the IIS 5 protection policy version, open a command prompt window and run the policydeploy utility:

policydeploy -delete IIS5#05

Policy version IIS5#05 is deleted from the crDMS@cr_host.company.com DMS node.