How to find source-database after a move request has completed

So here is a situation I moved a user from a database , move request has completed however i do not remember the source database from the same where i moved this guy. Is there a way to find source database after move request has completed ? Please suggest.

June 10th, 2015 4:50am

Hi Aditya,

It would be easier if you have not deleted the MoveRequest itself.

Get-MoveRequest | fl SourceDatabase,name,displayname


SourceDatabase : Test-DB
Name           : SatyaTEST3
DisplayName    : SatyaTEST3



#To see all parameters, just run this
Get-MoveRequest | fl 

#Want even more
Get-MoveRequest | Get-MoveRequestStatistics | fl

Free Windows Admin Tool Kit Click here and download it now
June 10th, 2015 5:38am

Thanks
June 10th, 2015 6:05am

Hi Aditya,

Incase you have remove-moverequest already, here are the alternate options.

Hunt all the Databases in the Organization to find which one has the disconnected mailbox for the user, which would be the previous homeMDB.

#Find all softdeleted = moved disconnected mailboxes

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "SoftDeleted" } | ft Databa
se,Displayname,Last* -AutoSize

Database DisplayName LastLoggedOnUserAccount LastLogoffTime        LastLogonTime
-------- ----------- ----------------------- --------------        -------------
Test-DB  SatyaTEST3                          12/30/2014 5:23:17 AM 12/30/2014 4:26:58 AM


Hunt all the Databases, with targetting the DisplayName of the moved mailbox:

#Just to compare that the actual mailbox is in other DB
#The SoftDeleted one is the disconnected mailbox = previous database location.

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisplayName -eq "SatyaTest3" } | ft Database,Dis
playname,Last*,DisconnectReason -AutoSize

Database DisplayName LastLoggedOnUserAccount LastLogoffTime        LastLogonTime         DisconnectReason
-------- ----------- ----------------------- --------------        -------------         ----------------
Test-DB  SatyaTEST3                          12/30/2014 5:23:17 AM 12/30/2014 4:26:58 AM      SoftDeleted
DB2      SatyaTEST3                          12/30/2014 5:23:17 AM 12/30/2014 4:26:58 AM

Soft-deleted mailboxes   When mailboxes are moved from a Exchange Server database to any other database, Exchange doesn't fully delete the mailbox from the source database upon completion of the move. Instead, the mailbox in the source mailbox database is switched to a soft-deleted state.

References:

Restore a Soft-Deleted Mailbox

https://technet.microsoft.com/en-in/library/gg278001(v=exchg.141).aspx

Free Windows Admin Tool Kit Click here and download it now
June 10th, 2015 6:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics