A powershell script to generate MS Exchange mailbox statistics health report will sending as email. The script MailboxStatistics-Report.ps1 generate plain/text report. Alternatively the file MailboxStatistics-html-Report.ps1 to deploy html formatted output.
- Total Item and Size
- Item count
- Last logon time
- Exchange Health Report
- Disk Space usage
Note it requires that the script is executed from the Exchange management shell exshell.psc1
.
Ran on Exchange host as a task scheduled job at your desired time and action prog powershell.exe.
use example
param:
-psconsolefile "C:\Program Files\Microsoft\Exchange Server\V15\Bin\exshell.psc1" -file "C:\windows\system32\MailboxStatistics-Report.ps1"