Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, August 25, 2017 3:41 PM
Hello,
After completed export mailbox to PST. I used this command to Clear ALERTS on EAC (Exchange 2016) but failure.
Command:
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest -Force
I got warning as following,
[PS] C:\Windows\system32>Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
WARNING: An unexpected error has occurred and a Watson dump is being generated: Value cannot be null.
Parameter name: index
Value cannot be null.
Parameter name: index
+ CategoryInfo : NotSpecified: (:) [Remove-MailboxExportRequest], ArgumentNullException
+ FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.Exchange.Management.Migration.MailboxReplication.
MailboxExportRequest.RemoveMailboxExportRequest
+ PSComputerName : MBX.mydomain.com
Could you please guide me? Tks.
All replies (3)
Monday, August 28, 2017 8:41 AM ✅Answered | 1 vote
Hi,
Based on your description, I know that you get an error message “Parameter name: index, Value cannot be null.” when run “Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest” to remove completed export request. Your command is correct but you received an unexpected error.
During to my testing, I reproduce it in my Exchange 2016 CU6 lab, and this commend works fine in Exchange 2016 CU4 and CU5.
As a workaround, we could run this command instead:
Get-MailboxExportRequest -Status Completed | %{Remove-MailboxExportRequest $_.RequestGuid -Confirm:$false}
Which Exchange version are you used, Exchange 2016 CU6 or earlier?
I will double confirm this issue and update here if I get news. Sorry for any inconvenience.
Best Regards,
Manu Meng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, August 25, 2017 1:31 AM
Hello,
I used this command to DELETE ALERTS on EAC (Exchange 2016) but failure.
Command: "Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest"
Then returned the error is
[PS] C:\Windows\system32>Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
WARNING: An unexpected error has occurred and a Watson dump is being generated: Value cannot be null.
Parameter name: index
Value cannot be null.
Parameter name: index
+ CategoryInfo : NotSpecified: (:) [Remove-MailboxExportRequest], ArgumentNullException
+ FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.Exchange.Management.Migration.MailboxReplication.
MailboxExportRequest.RemoveMailboxExportRequest
+ PSComputerName : MBX.mydomain.com
P/S: This command was returned the result of export completed "Get-MailboxExportRequest -Status Completed"
Anyone can help me please !
Thank you !
Thursday, October 5, 2017 9:13 AM
Hi Manu Meng,
I'm sorry for my feedback late.
I'm using Ex2016 CU6.
The alert was automatically disappeared in few days later since i posted the topic. I don't know why ?
Thanks for your support.