Question : Clear Move Request (moverequest) matches multiple entries

Hi,

We have 2 completed move requests which I cannot clear because of the following error:

[PS] C:\Windows\system32>get-moverequest -targetdatabase "Mailbox database 1495561873"

DisplayName                                    Status                    TargetDatabase
-----------                                    ------                    --------------
Microsoft Exchange Approval Assistant          Completed                 Mailbox Database 1495561873
Microsoft Exchange Approval Assistant          Completed                 Mailbox Database 1495561873


[PS] C:\Windows\system32>remove-moverequest "Microsoft Exchange Approval Assistant"
The operation couldn't be performed because 'Microsoft Exchange Approval Assistant' matches multiple entries.
    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-MoveRequest], ManagementObjectAmbiguousException
    + FullyQualifiedErrorId : AE7D2F98,Microsoft.Exchange.Management.RecipientTasks.RemoveMoveRequest

Answer : Clear Move Request (moverequest) matches multiple entries

cgaliher is right just a small "correction

get-moverequest -targetdatabase "Mailbox database 1499571873" | fl ExchangeGuid

It should return something like

ExchangeGuid   : 0c4a031c-2ff5-4b4f-920a-ceeb811be877

ExchangeGuid   : 0c4a031c-2f55-4b4f-920a-ceeb812be877


remove-moverequest 0c4a031c-2ff5-4b4f-920a-ceeb811be877
remove-moverequest 0c4a031c-2f55-4b4f-920a-ceeb812be877
Random Solutions  
 
programming4us programming4us