SOLVED
Home

Mailbox with multiple different aliases - identification mechanism?

AndrewStory
New Contributor

Hello all,

We have Exchange 2103 on prem with approx. 1200 mailboxes.

We are trying to find a simple was (if possible) to find all mailboxes with an alias which has been added manually and is not linked to the username.

 

e.g.  firstname.surname1 is an alias and this users mailbox has multiple email addresses based on the domains we accept email for with this alias

we have manually added leavers email aliases to some accounts, so the mailbox above could have another email address of firstname.surname2

 

Is there a way of identifying these mailboxes without manually checking them all?

 

TIA, Andy 

2 Replies
Solution

If you can define a robust set of criteria for aliases "added manually and not linked to the username", you can surely run a PowerShell script that goes over all mailboxes and returns matching ones. For example, this will return any objects that DO have at least one email address in the format FirstName.LastName:

 

Get-Recipient | % { if ($_.EmailAddresses -match "$($test.FirstName)" + "." + "$($test.LastName)" ) {$_} else {} }

Thanks Vasil, gives me something to work with!!

 

Related Conversations
How to export Office 365 mailbox to PST?
alainajodi in Office 365 on
8 Replies
How do I group rows in an excel table?
Marisa Medrano in Excel on
1 Replies
AD User Migration Exchange Mailbox last
Hermulus in Exchange on
0 Replies