Powershell & cmdlet – In a Nutshell – Part 8 – Configure deleted mailbox retention using Set-Mailboxdatabase cmdlet


Now we’ll discuss how to configure the deleted mailbox retention period in Exchange Server 2007

Run the following command in Exchange Management shell,

Set-MailboxDatabase dbName -MailboxRetention 32.00:00:00

Here,
dbname – specifies database name,
32.00:00:00 – specifies the retention period, i.e., the number of days, hours, minutes, and seconds required for it.

By default, deleted mailboxes are retained for 30 days before they are purged from the mailbox database.

Comments (1)
  1. Now we'll discuss how to configure the deleted mailbox retention period in Exchange Server 2007 Run

Comments are closed.