get-mailbox | Get-mailboxstatistics -IncludeMoveHistory | Select -Property 
Displayname, lastlogontime, movehistory | Export-csv -Path 
$env:userprofile\desktop\mailbox_migration_history.csv -NoTypeInformation

MoveHistory is an array

Below is an example of the formatting.
Ideally I'd like to be able to split this up, but getting it into a single 
field would suffice for this endeavor

{(10/16/2013 7:50:48 AM: TargetMDB=2013 Offload, Size=1.536 GB (1,649,437,692 
bytes), Duratio
n=13:43:13), (6/7/2013 1:34:22 AM: Failed, TargetMDB=NAMPR05DG011-db027, 
Error=Error: Cannot
find a recipient that has mailbox GUID 'c2ac24be-3718-446d-8d2f-0b4ec16e4d62'.)}



Christopher Catlett
Consultant | Detroit
[MCTS_2013_small]

Sogeti USA
Office 248-876-9738 |Fax 877.406.9647
26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456
www.us.sogeti.com<http://www.us.sogeti.com/>



================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1

<<inline: image001.jpg>>

Reply via email to