Get-Mailbox -resultsize unlimited | Get-MailboxStatistics | where {$_.ObjectClass -eq “Mailbox”} | Sort-Object TotalItemSize -Descending | ft DisplayName,@{expression={$_.TotalItemSize.Value.ToMB()}},ItemCount,StorageLimitStatus > C:\Installs\Scripts\MailboxSizes.txt

 

Get-Content .\mailboxmove.txt | New-MoveRequest -TargetDatabase EXDAG01DB01 -Confirm:$false

Recent Blog

Blog Categories

Tags

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.