Exchange PowerShell: Find Mailbox with Specific Email Address

Exchange PowerShell: Find Mailbox with Specific Email Address

Every now and then I get asked to find the mailbox that an email has been sent to with only an email address to go off. Thankfully, PowerSshell makes this very easy to find the owner straight away.

Get-Mailbox | Where {$_.emailaddresses -like "smtp:phil@ctrlf5.me"} | FT Name,Alias

All you need to do is change the email address from phil@ctrlf5.me to the email address you are trying to find. The FT Name,Alias just shows me the information I need to see, but you are welcome to change that to suit your needs.

Until Next Time!