cragos1984 Posted April 21, 2015 Posted April 21, 2015 (edited) Hi Got a problem at the minute in that not all of our students are receiving important exams information because their mailboxes are full. Does anyone know if there is a way within Outlook Management console or using a Powershell script that will enable me to list all the accounts with full mailboxes? So I can send a list to tutors. I assumed this would be easy but cannot find a way at the minute Any help would be great Thanks Edited April 21, 2015 by cragos1984
mdrabble Posted April 21, 2015 Posted April 21, 2015 The script below lists all mailboxes by size, it doesnt fit what your after but should help. Your will need to change "YOURSERVER" to the name of your exchange servers. $DateStamp = get-date -uformat "%d-%m-%Y" $filename = 'D:\' + $DateStamp + '_MailBox_Sizes.txt' Get-MailboxStatistics -Server "YOURSERVER"| where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}},@{label=”Storage Limit”;expression={$_.StorageLimitStatus}} -auto >>$filename
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now