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
Technology Tips and News
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
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.
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.