Remove-MailContact cmdlet is used for deleting mail contacts.

This cmdlet supports risk-mitigation parameters.

Input parameters

#ParameterType

Mandatory (R/O)

DescriptionValid Values
1 Authentication Information (all parameters)  
2

Identity

(aliases: GUID, DistinguishedName )

string R A property, that is used for managing the mail contact

Value of one of these parameters  can be used as Identity:

#ParameterDescription
1 GUID Globally Unique Identifier (ObjectGuid)
2 DistinguishedName Unique name of the object in Active Directory

Output parameters

No parameters

Example of using Remove-MailContact cmdlet

Remove-MailContact -Identity "11664B98-BFEE-46EC-A46E-32D0B8B4A357"