The script sends a report to Exchange users with the overview of the largest folders and the folders with the most items.
Download and copy this script to an Exchange Server. Run this script interactive or with task scheduler. Change the first lines of the script :
$Group = "Domain Users"
$CountTopFolder = 10
$ReportMailboxSizeInMB = 5000
$SMTPServer = "smtp.domain.tld"
$From = "postfachbericht@domain.tld"
$Subject = "Postfach Übersicht"
- Exchange Server 2019
- Windows Server 2022