CmdID / PowerShell / Cmdlets / Get
Get-MailContact
Use the Get-MailContact cmdlet to view existing mail contacts. Exchange PowerShell reference
From the Exchange PowerShell reference 11 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mail contact that you want to view.-ANRThe Anr parameter specifies a string on which to perform an ambiguous name resolution (ANR) search.-CredentialThe Credential parameter specifies the username and password that's used to run this command.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-FilterThe Filter parameter uses OPATH syntax to filter the results by the specified properties and values.-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.-OrganizationalUnitThe OrganizationalUnit parameter filters the results based on the object's location in Active Directory.-ReadFromDomainControllerThe ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain.-RecipientTypeDetailsThe RecipientTypeDetails parameter filters the results by the specified mail contact subtype.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SortByThe SortBy parameter specifies the property to sort the results by.