Veritas Enterprise Vault™ PowerShell Cmdlets
Remove-EVRetentionPlan
Remove-EVRetentionPlan removes the specified retention plan, if it is not in use. The cmdlet prompts you to confirm the removal of the retention plan.
You cannot remove a retention plan while you have associated it with any of the following:
An Exchange, Domino, or IMAP provisioning group
An FSA volume or folder policy
A public folder target
A SharePoint target or site collection
An archive to which you have assigned the retention plan through the Set-EVArchive PowerShell cmdlet
You must disassociate the retention plan from these entities and then run the appropriate provisioning or archiving task to remove the association with the target archives.
Remove-EVRetentionPlan is provided by Symantec.EnterpriseVault.PowerShell.AdminAPI.dll, which is loaded by the Enterprise Vault Management Shell.
Remove-EVRetentionPlan [-SiteId <String>] [-Name <String>] [<CommonParameters>]
Table: Remove-EVRetentionPlan parameters
Parameter | Description |
---|---|
-SiteId (required) | The ID of the Enterprise Vault site to which the retention plan belongs. If you omit this parameter, and the cmdlet cannot determine the ID by looking in the registry, then Remove-EVRetentionPlan prompts you to enter the required ID. You can use Get-EVSite to obtain the site ID. |
-Name (required) | The name of the retention plan to remove. |
Remove-EVRetentionPlan -SiteId 13E...localdomain.com -Name "PlanForCEOs"
Removes the retention plan that is named "PlanForCEOs".
There is a confirmation message on completion.
See Get-EVRetentionPlan.
See New-EVRetentionPlan.
See Set-EVRetentionPlan.
See Set-EVArchive.
See Get-EVSite.