how to check mailbox usage of users and send report to e-mail address


1. download script below (userquota.txt) and rename it to userquota.PS1

2. edit field to accommodate your organization

3. execute script from exchange powershell

## explanation what need to be edit

$ToAddress = "your.email@yourdomain.com"    –  this is address where to send report. can be external address

$SendingServer = "mail.yourdomain.com"           –  This is the mail server through which we send report. Usually it's your Hub server role

-database "Mailbox Database"                            – is name of database from witch you wont to generate reporte


C:\Users\Administrator.somthing\Desktop\mailboxstatsmdb1.txt   – This is the path where it will be generate file with the report. Userqupta.PS1 and the generated report must be in the same place


dpejic has written 85 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>