Information
You can use this setting to specify how long deleted mailboxes are retained before they are permanently removed from the database. Defining a reasonable retention period facilitates recovering accidentally deleted mailboxes while controlling the volume of storage that retained mailboxes require.
Rationale:
Administrators may want to recover accidentally deleted mailboxes or they may need to recover deliberately deleted mailboxes for legal or managerial reasons.
Solution
To implement the recommended state, execute the following PowerShell cmdlet:
Set-Mailboxdatabase 'EXCHANGE01\Mailbox Database' -MailboxRetention 30.00:00:00