$DBs = Get-MailboxDatabase
foreach($DB in $DBs)
{
$MBXs = Get-Mailbox -Database $DB -ResultSize Unlimited
if($MBXs.Count -gt 80){
Write-Host "$DB has $($MBXs.Count) Mailboxes"
}
}
ASKER
ASKER
Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.
TRUSTED BY
Try...
Open in new window