How to find out an email address belongs to which Recipient

How to find out an email address belongs to which Recipient

CHUONG K. NGUYEN – BSc., MCSEx2, MCSAx2, MCP, MCTS, MCITP, CCNA

Ever tried to create an email account and Exchange server indicates that the email address is being used by another object and you are not sure which object is using that email address?

Issue this command to show the member properties for the objects returned by Get-Recipient.

Get-recipient | Get-Member | where-object {$_.Name -like '*email*'}

Once you have the properties that have the word email in it, you can use that property to check which account the email address belong to.

Get-Recipient | where {$_.emailaddresses -eq 'user@example.com'}

Enjoy.