If none is specified, the
default is used.
Remove - Mailbox
This cmdlet removes the user account associated with a mailbox and processes the deletion of the
mailbox based on the parameters specified or the configured mailbox retention policy. A list of
parameters is shown next. For a detailed list run the following in the Exchange Management Shell:
get-help Remove-Mailbox -detailed .
Remove-Mailbox -Identity < MailboxIdParameter > [-DomainController < Fqdn > ]
[-Permanent < $true | $false > ] [ < CommonParameters > ]
Remove-Mailbox -Database < DatabaseIdParameter > -StoreMailboxIdentity
< StoreMailboxIdParameter > [-DomainController < Fqdn > ] [ < CommonParameters > ]
Notice that the Identity parameter cannot be used in conjunction with the -Database parameter. Also
the StoreMailboxIdentity parameter must be used with the Database parameter.
Specifying the Identity parameter alone simply disconnects the mailbox from the user, removes its
Active Directory user account, and the mailbox is removed from the Exchange database based on the
mailbox retention policy. By default, the mailbox remains disconnected for 30 days and then is purged
from the database. Using the Permanent parameter in addition overrides the retention policy and marks
the mailbox for deletion immediately.
Pages:
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197