Locating disconnected mailbox
Posted on 2011-03-15
Running Exchange 2007 server. We have servers in EMEA, APAC and US; servers are prefixed with their region names (e.g. emeambx1). Sometimes, our Helpdesk accidentally delete AD accounts and the mailbox is in disconnected state and I need to find it.
We have five Exchange 2007 mailbox servers per region, so finding the disconnected is work intensive at the moment.
As an example, I need to find a disconnected mailbox in EMEA. I think we need to run clean-mailbox on the servers first? Is this true? Is there any 'outage' associated with this, or is it purely related seeing disconnected mailboxes only?
Therefore, my questions are:
1. I need to run clean mailbox on all the EMEA servers only
2. I then need to find a disconnected mailbox with the display name "John Smith" which is on an EMEA server
Does anyone know the Powershell I'd run to find that?