Check Archive size 365 powershell

First check to make sure they have an archive

Get-Mailbox -Identity <Username> | Select ArchiveStatus, ArchiveDatabase

Next run the following command to check the archive size.

Get-MailboxStatistics -Identity <Username> -Archive | Select DisplayName, TotalItemSize, ItemCount

The information will display as follows. The display name should include “In-Place Archive” prepending it.

DisplayName TotalItemSize ItemCount
----------- ------------- ---------
In-Place Archive -Conor 45.08 GB (48,409,476,805 bytes) 82954

Leave a Reply