Veritas Enterprise Vault™ PowerShell Cmdlets
Remove-EVSMTPTarget
Remove-EVSMTPTarget removes the specified SMTP target. You are prompted to confirm the removal of the target. If you do not specify a site ID using the -SiteID parameter, and Remove-EVSMTPTarget cannot determine the site, you are prompted to enter the site ID.
Enterprise Vault removes the SMTP target information from the directory, and from each Enterprise Vault SMTP server in the site. If Remove-EVSMTPTarget fails to update the SMTP settings on any of the Enterprise Vault SMTP servers, the GetFailedEVServerList function can list the servers that were not updated. See the help for Get-EVSMTPTarget for an example.
Remove-EVSMTPTarget is provided by Symantec.EnterpriseVault.PowerShell.AdminAPI.dll, which is loaded by the Enterprise Vault Management Shell.
Remove-EVSMTPTarget [-SiteId] <string> [-Name] <string> [-RetryCount <string>] [<CommonParameters>]
Table: Remove-EVSMTPTarget parameters
Parameter | Description |
---|---|
-SiteId (required) | The ID of the site from which to remove the SMTP target. |
-Name (required) | The SMTP address of the target you want to remove. |
-RetryCount | The maximum number of times Remove-EVSMTPTarget will attempt to update the target information on the Enterprise Vault SMTP servers in the site. |
Remove-EVSMTPTarget -SiteId 13E...example.com -Name JohnDoe@example.com
Removes the SMTP target, "JohnDoe@example.com".
Remove-EVSMTPTarget returns no output.
See Get-EVSMTPTarget.
See New-EVSMTPTarget.
See Set-EVSMTPTarget.