Enterprise Vault™ PowerShell Cmdlets
- Introducing the Enterprise Vault PowerShell cmdlets
- Archiving: Exchange
- Archiving: FSA
- Archiving: Skype for Business
- Archiving: SMTP
- IMAP access
- Records management
- Retention plans
- Roles-based administration
- Sites and servers
- Tasks and services
- Vault stores and archives
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 the snap-in
Remove-EVSMTPTarget [-SiteId] <String> [-Name] <String> [-RetryCount <String>] [<CommonParameters>]
Table: Remove-EVSMTPTarget parameters
The ID of the site from which to remove the SMTP target.
The SMTP address of the target you want to remove.
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.