
Part II: Working with Server Roles
222
DeletedItemRetention specifies the length of time to keep deleted items that have been emptied from
the deleted items folder or hard - deleted using SHIFT + Delete. The default in Exchange 2007 is 14 days,
and can be configured to a maximum of 24,855 days. Deleted items are recoverable with the Outlook
client or with Outlook Web Access in Exchange Server 2007 Service Pack 1. This setting will apply to all
users in the database unless the users have their own retention time set.
To view the current settings on existing mailbox databases, use the
Get-MailboxDatabase cmdlet:
Get-MailboxDatabase [-Identity < DatabaseIdParameter > ] [-DomainController
< Fqdn > ] [-IncludePreExchange2007 < SwitchParameter > ] [-Status
< SwitchParameter > ]
Get-MailboxDatabase -Server < ServerIdParameter > [-DomainController < Fqdn > ]
[-IncludePreExchange2007 < SwitchParameter > ] [-Status < SwitchParameter > ]
Get-MailboxDatabase -StorageGroup < StorageGroupIdParameter >
[-DomainController < Fqdn > ] [-IncludePreExchange2007 < SwitchParameter > ]
[-Status < SwitchParameter > ]
The IncludePreExchange2007 parameter returns information about pre - Exchange 2007 databases. The
Status switch retrieves extra information about the databases. By default the cmdlet does not show
information about the
Mounted status, BackupInProgress , and OnlineMaintenanceInProgress ...