How can I list down mailboxes moved in specified date range via powershell?

Hi Team,

Need a power shell command or a script to list down mailboxes moved in a specified date range? Possible??

appreciate your response.

thank you

August 17th, 2015 6:51am

It's possible.  You'll have to get move requests and/or move request statistics and use a Where or Select statement to filter by the particular date you want--there are several dates/times.

Free Windows Admin Tool Kit Click here and download it now
August 17th, 2015 11:22am

Hi,

We can use Get-MoveRequestStatistics and Get-MailboxStatistics with IncludeMoveHistory to get the histoty of mailbox migration.

For your expectation, please try below command to get move request in specified date range:

Get-Mailbox | Get-MoveRequestStatistics | Where {"$_.CompletionTimeStamp -le '8/19/2015'" -and "$_.CompletionTimeStamp -ge '8/1/2015'"} | FT Identity,DisplayName,*CompletionTime* >D:\MoveRequest.txt

Note: it will traversal queries all mailbox and retrun some error with no found move request in EMS, we can check the results in export file.

August 18th, 2015 10:46pm

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

Other recent topics Other recent topics