If there are existing disconnected mailboxes in the Exchange database, perhaps after running the
Disable-Mailbox cmdlet, you can use the Database and StoreMailboxIdentity parameters to
remove a mailbox object from the Exchange database.
This cmdlet requires the logged - on user to be a member of the Exchange Recipient Administrator Group
and belong to the local Administrators group on the computer.
Part I: PowerShell for Exchange Fundamentals
110
Some key parameters to note include:
??‘ Database < DatabaseIdParameter > : The Database parameter specifies the database that
contains the mailbox object. It must be used in conjunction with the StoreMailboxIdentity
parameter and cannot be used with the Identity parameter. The parameter can be any of the
following: GUID, database name, server name\database name, and server name\storage
group\database name.
??‘ Identity < MailboxIdParameter > : This parameter identifies the mailbox object you want to
remove and can be any of the following attributes: ADObjectID, Distinguished Name (DN),
UPN, LegacyDN, GUID, email address, or alias. It cannot be used with the Database
parameter.
??‘ StoreMailboxIdentity < StoreMailboxIdParameter > : The DomainController parameter
specifies the domain controller that writes this configuration change to Active Directory.
Pages:
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198