I have to find all mailbox which have the number2 at the end of the SMTP address and edit them accordingly. The 2 comes about as a result of pre-existing mail contacts which have to be deleted before the user is added in to the exchange server. example: jdoe2gov.bw, lmoruti2@gov.bw, mjackson2@gov.bw etc. What I need is get-mailbox commandlet that lists these mailboxes with 2 in the address so that I can edit them. Logically the cmdlets should get mailboxes with adresseses ending with 2@gov.bw.
Thank you.