Find a object with a smtp address

I have an smtp address and I want to know who owns this address,  a mailbox or a public folder or a distribution list?

Is there a powershell command that has solved it?
Who is Participating?
Jamie McKillopConnect With a Mentor IT ManagerCommented:

Run these commands:

Get-Mailbox -Filter {EmailAddresses -like '**'}
Get-MailContact -Filter {EmailAddresses -like '**'}
Get-DistributionGroup -Filter {EmailAddresses -like '**'}
Get-MailPublicFolder -Filter {EmailAddresses -like '**'}

dgswinAuthor Commented:
Thank you!

It's work!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.