Udostępnij za pośrednictwem


Remove a Mailbox Import Request

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Completed mailbox import requests aren't cleared automatically. You can remove fully or partially completed mailbox import requests by using the Remove-MailboxImportRequest cmdlet.

Note

If you remove a partially completed mailbox import request, the request is removed from the Microsoft Exchange Mailbox Replication service (MRS) job queue. Any import progress made before the removal won't be reverted back.

Note

You can't use the Exchange Management Console (EMC) to remove an import request. You must use the Shell.

Looking for other management tasks related to mailbox import or export requests? Check out Managing Mailbox Import and Export Requests.

Use the Shell to remove a mailbox import request

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Import Export" entry in the Mailbox Permissions topic.

This example removes the mailbox import request Ayla\MailboxImport.

Remove-MailboxImportRequest -Identity "Ayla\MailboxImport"

This example cancels a mailbox import request by using the RequestGuid parameter for a mailbox or archive on MBXDB01.

Note

You should use the RequestGuid parameter only for debugging or troubleshooting purposes.

Remove-MailboxImportRequest -RequestQueue MBXDB01 -RequestGuid 25e0eaf2-6cc2-4353-b83e-5cb7b72d441f

For detailed syntax and parameter information, see Remove-MailboxImportRequest.

Use the Shell to remove multiple mailbox import requests

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Import Export" entry in the Mailbox Permissions topic.

This example removes all mailbox import requests that have a status of Completed.

Get-MailboxImportRequest -Status Completed | Remove-MailboxImportRequest

For detailed syntax and parameter information, see Get-MailboxImportRequest and Remove-MailboxImportRequest.

 © 2010 Microsoft Corporation. All rights reserved.