CiscoAzn
asked on
Powershell script to check the TotalDeletedItemSize
When running the command "Get-MailboxStatistics <username> | FL" there is an output for "TotalDeletedItemSize". Is there a way to have a schedule script to run that would show all users in an OU that has over 90GB for the TotalDeletedItemSize? Just need a weekly report of this.
ASKER
Thanks Jose but these mailboxes are on O365. What's the code to call it in the beginning? Under the $OUName would that be the DN of the OU?
Clarify in your question that is for Office 365, that's not specified anywhere :P
TotalDeletedSize on 90Gb ? why?
That would be an almost 100Gb mailbox that has 90Gb deleted, it's a hard condition to hit.
TotalDeletedSize on 90Gb ? why?
That would be an almost 100Gb mailbox that has 90Gb deleted, it's a hard condition to hit.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Jose!
Np! :)
Open in new window
Output