Solved

Removing mailbox export requests

Posted on 2013-12-06
2
4,306 Views
Last Modified: 2013-12-06
Been pulling what little hair out trying to get this command to work in exchange 2013.

Background; this command "Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest" used to work under exchange 2010. Since I've migrated my mailboxes to exchange 2013 this command no longer works. I'm receiving the following error(s);
-------------------------------------------------------------------

[PS] E:\Scripts\projects>Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Cannot process argument transformation on parameter 'Identity'. Cannot convert value
"00000000-0000-0000-0000-000000000000" to type
"Microsoft.Exchange.Management.RecipientTasks.MailboxExportRequestIdParameter". Error: "This IdParameter cannot find
an object of the specified type.
Parameter name: identity"
    + CategoryInfo          : InvalidData: (hoodview.fcu/TexPart Journal\:PSObject) [Remove-MailboxExportRequest],

Par
   ameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Remove-MailboxExportRequest
    + PSComputerName        : taz.hoodview.fcu

Cannot process argument transformation on parameter 'Identity'. Cannot convert value
"00000000-0000-0000-0000-000000000000" to type
"Microsoft.Exchange.Management.RecipientTasks.MailboxExportRequestIdParameter". Error: "This IdParameter cannot find
an object of the specified type.
Parameter name: identity"
    + CategoryInfo          : InvalidData: (hoodview.fcu/TexPart Journal\:PSObject) [Remove-MailboxExportRequest],

Par
   ameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Remove-MailboxExportRequest
    + PSComputerName        : taz.hoodview.fcu

Cannot process argument transformation on parameter 'Identity'. Cannot convert value
"00000000-0000-0000-0000-000000000000" to type
"Microsoft.Exchange.Management.RecipientTasks.MailboxExportRequestIdParameter". Error: "This IdParameter cannot find
an object of the specified type.
Parameter name: identity"
    + CategoryInfo          : InvalidData: (hoodview.fcu/TexPart Journal\:PSObject) [Remove-MailboxExportRequest],

Par
   ameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Remove-MailboxExportRequest
    + PSComputerName        : taz.hoodview.fcu
--------------------------------------------------
These are the export requests so far.

Name                                           Mailbox                                        Status
----                                           -------                                        ------
                                               hoodview.fcu/TexPart Journal                   Completed
                                               hoodview.fcu/TexPart Journal                   Completed
                                               hoodview.fcu/TexPart Journal                   Completed

I don't know where to turn at this point.
0
Comment
Question by:RichardPWolf
2 Comments
 
LVL 30

Accepted Solution

by:
renazonse earned 500 total points
ID: 39701932
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest

Is the correct syntax but if these are export requests that were generated from a 2010 server you may need to run the command from the 2010 server. It doesn't look like it's pulling the correct GUID for the request so it fails.

If you can find the correct GUID for each request you should be able to remove it with something like this - Remove-MailboxExportRequest -RequestQueue MBXDB01 -RequestGuid 25e0eaf2-6cc2-4353-b83e-5cb7b72d441f
0
 

Author Closing Comment

by:RichardPWolf
ID: 39701973
Thank you, problem primarily is that I was running the command from a remote session on my desktop. When I ran it from the Exch2010 box I got a resource not available error. When I ran it on the Exch2013 box it completed correctly. Looks like I need to fix my exchange shell on my desktop to run the command. This command is part of an End of Month script I use for exchange maintenance.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question