• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1494
  • Last Modified:

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?
0
dgswin
Asked:
dgswin
1 Solution
 
Jamie McKillopCommented:
Hello,

Run these commands:

Get-Mailbox -Filter {EmailAddresses -like '*smtp@domain.com*'}
Get-MailContact -Filter {EmailAddresses -like '*smtp@domain.com*'}
Get-DistributionGroup -Filter {EmailAddresses -like '*smtp@domain.com*'}
Get-MailPublicFolder -Filter {EmailAddresses -like '*smtp@domain.com*'}

-JJ
0
 
dgswinAuthor Commented:
Thank you!

It's work!
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now