It would be really useful if you could see all disconnected mailboxes across databases using AppInsight for Exchange, including the date when the mailbox was disconnected.
Thanks for the input, ashleyhames. Can you provide me some more detail on how this will help you? Feel free to PM me.
Hi Steve
We have an automated script implemented that runs when staff leave the organisation, this script disables their Active Directory account and also 'disconnects their mailbox'. By disconnecting the mailbox the disabled user will not continue to receive any emails. By default when a mailbox is disconnected you will have 30 days before the mailbox is purged from the mailbox database.
To view all currently disconnected mailboxes, you can run the below powershell script;
Get-MailboxStatistics -server <servername> | where { $_.DisconnectDate -ne $null } | select DisplayName,MailboxGuid,Database,DisconnectDate
While mailboxes are disconnected they are still consuming space within the mailbox database but this cannot be viewed within Appinsight for Exchange and they're not listed in the 'Users By Mailbox Size' table.
It would be useful to have an additional table detailing the following
Username
Mailbox Size
Database
Disconnection Date
Date mailbox to be purged from database
Hope this helps
Ash