Get-MailboxStatistics returns a list of mailboxes and
statistics about those mailboxes.
Get-MailboxStatistics returns all mailboxes and the statistics for each. The results look something
like those in Figure 16 - 5 .
Figure 16-4
Figure 16-5
Part IV: Automating Administration
476
This may be useful if you want to manually go through a large list of mailboxes and the statistics. In this
case, you are looking for mailboxes that are approaching the limit or have not been set, so you need to
create a filter. To filter you can look at the StorageLimitStatus field. The valid values for this are
NoChecking , BelowLimit , IssueWarning , ProhibitSend , or MailboxDisabled depending on where
the mailbox size falls within the limits that have been set. A list of all mailboxes that are flagged with
IssueWarning , ProhibitSend , or MailboxDisabled tells you which mailboxes have crossed one of
the set limit thresholds. Also, to make sure that none of the Exchange administrators has disabled limits
on any of the mailboxes you can add NoChecking to the filter as well. To do this, you pass the results of
Get-MailboxStatistics to the Where-Object cmdlet as follows:
get-MailboxStatistics | Where-Object {
???IssueWarning???,???ProhibitSend???,???MailboxDisabl ed???,???NoChecking??? -Contains
$_.
Pages:
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664