One cool feature of PowerShell is the ability to specify the
units, so it is not necessary to convert between megabytes and gigabytes.
Set-MailboxDatabase -Identity ???mb100\mailbox database??? -IssueWarningQuota 512MB -
ProhibitSendReceiveQuota 1GB
This cmdlet when viewed with the management console looks like Figure 8 - 1 .
Figure 8-1
Two settings related to recovery are MailboxRetention and DeletedItemRetention
. MailboxRetention specifies the length of time to keep deleted mailboxes. The default in Exchange
Server 2007 is 30 days, and can be configured to a maximum of 24,855 days. The section on managing
mailboxes explains deleted mailboxes and how to reconnect them.
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.
Pages:
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328