Add-RepositorySyncFailureRecipient



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