‘Run Cleanup Agent’ replacement in Exchange 2007
November 28, 2011 Leave a comment
To view disconnected mailboxes immediately after deletion in Exchange 2003, you used to have to run the cleanup agent by right clicking on the mailbox folder in Exchange System Manager for the relevant server, and choose ‘Run Cleanup Agent’.
This changed in Exchange 2007, and instead you need to run the Clean-MailboxDatabase management shell command instead. To do this, on the server that contained the deleted mailboxes simply run the following command, where “Your_Mailbox_Database_Name” is the name of the relevant mailbox database: