?
Solved

Locating disconnected mailbox

Posted on 2011-03-15
5
Medium Priority
?
526 Views
Last Modified: 2012-05-11
Hi

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?
0
Comment
Question by:kam_uk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 13

Expert Comment

by:Felix Leven
ID: 35142450
this shows disconnected mailboxes:
Get-MailboxStatistics -Server | where { $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate
0
 
LVL 3

Author Comment

by:kam_uk
ID: 35142466
I need to find the disconnected mailbox with display name "John Smith", i.e need to know what server it's on. Running the command above will just give me all the disconnected mailboxes, which is not what I'm after?
0
 
LVL 13

Expert Comment

by:Felix Leven
ID: 35142501
Get-MailboxStatistics -Server | where { $_.DisconnectDate -ne $null and DisplayName -eq John Smith  } | select DisplayName,DisconnectDate
0
 
LVL 13

Expert Comment

by:Felix Leven
ID: 35142518
-and
0
 
LVL 49

Accepted Solution

by:
Akhater earned 2000 total points
ID: 35142827
$servers = Get-MailboxServer | ? {$_.name -like "EMEA&*"}
$servers | Get-Mailboxstatistics -Server $_.name | ?{ $_.DisconnectDate -ne $null -and  DisplayName -eq "John Smith"} | fl DisplayName,Database,DisconnectDate
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question