Summary
Adds a recipient to the list of recipients to receive failure notification emails for the current repository
Syntax
Add-RepositorySyncFailureRecipient [-To] <String> [<CommonParameters>]
Description
This command adds a recipient via an email address to the list of recipients to receive failure notification emails for the current repository. If any failure occurs, notifications will be sent to this email address.
This command must be invoked inside a directory initialized as a repository using the Initialize-Repository command.
Parameters
Name | Argument | Description |
---|---|---|
To | <String> | Specifies the email address to add as a recipient of the failure notifications |
Examples
PS C:\> Add-RepositorySyncFailureRecipient -to someone@mycompany.com
See also
- Initialize-Repository
- Add-RepositoryFilter
- Remove-RepositoryFilter
- Get-RepositoryInfo
- Invoke-RepositorySync
- Invoke-RepositoryCleanup
- Set-RepositoryNotificationConfiguration
- Clear-RepositoryNotificationConfiguration
- Get-RepositoryNotificationConfiguration
- Show-RepositoryNotificationConfiguration
- Remove-RepositorySyncFailureRecipient
- Test-RepositoryNotificationConfiguration