DisconnectDate
-ne $null}
The next example retrieves all of the disconnected mailboxes from the mailbox database. Just omit the
database parameter to see all disconnected mailboxes in the organization.
Get-MailboxStatistics -Database ???mb100\mailbox database??? | where {$_.DisconnectDate
-ne $null}
To change the default 30 - day tombstone period, use the Set-MailboxDatabase cmdlet to set the
MailboxRetention parameter. Changing this value may impact mailbox storage requirements. The
value of MailboxRetention is the number of days, hours, minutes, and seconds the mailboxes will be
tombstoned.
The following cmdlet sets the test environment to tombstone for 15 days:
Set-MailboxDatabase -Identity ???mb100\mailbox database??? -MailboxRetention
15.00:00:00
Under most circumstances it is not necessary to run Clean-MailboxDatabase . Typically, when a mailbox
is removed or disabled, it is marked as disconnected. If a mailbox was removed while the database
was offline, it may not show up as disconnected right away. It is possible to force this process with the
Clean-MailboxDatabase cmdlet. This is the same process as the Clean - up Agent in Exchange 2003.
Clean-MailboxDatabase -Identity < DatabaseIdParameter > [-DomainController
< Fqdn > ]
Following is an examp le: Clean-MailboxDatabase -Identity ???mb100\mailbox database???
Another option for a disconnected mailbox is to connect it to a new Active Directory user object.
Pages:
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331