Add-RepositorySyncFailureRecipient



Summary

Add a recipient to be notified of failures

Syntax

Add-RepositorySyncFailureRecipient [-To] <String> [<CommonParameters>]

Description

This function adds an email address to the repository. On failures, notifications will be sent to this email address.

The directory must have been initialized via Initialize-Repository and notification configured via Set-RepositoryNotificationConfiguration.

The function must be invoked inside a directory initialized as a repository.

Parameters

Name Argument Description
To <String> The email address to add

Examples


PS C:\> Add-RepositorySyncFailureRecipient -to someone@mycompany.com

See also