Connect to Office 365:

In this example any user that has a domain.eu email addresses:

Get-Mailbox -Identity * | Where-Object {$_.EmailAddresses -like 'smtp:*@domain.eu'} | Format-List Identity, EmailAddresses