lianne143
asked on
Easy way to delete all the emails from a users mail box - outlook 2010
Hi
We use exchange 2007 and outlook 2010
One of the user left our organisation year ago and have started again now and there are 1000s of mails on her mail box
Is there a easy way of deleting all the mails and start with a fresh mail box.
Thanks
We use exchange 2007 and outlook 2010
One of the user left our organisation year ago and have started again now and there are 1000s of mails on her mail box
Is there a easy way of deleting all the mails and start with a fresh mail box.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I trield this command from the exchange management shell and I get this error, not sure if I am making a mistake.
[PS] C:\Windows\system32>Get-Ma ilbox -identity jph | Export-Mailbox -TargetMailb
ox "exportmailbox" -TargetFolder "jph" -deletecontent
The specified user "exportmailbox" could not be found.
At line:1 char:1
+ Get-Mailbox -identity jph | Export-Mailbox -TargetMailbox "exportmailbox"
-Targe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~
~~~
+ CategoryInfo : NotSpecified: (:) [], ManagementObjectNotFoundEx
ception
+ FullyQualifiedErrorId : 98333571
[PS] C:\Windows\system32>Get-Ma ilbox -identity jph | Export-Mailbox -TargetMailb
ox "exportmailbox" -TargetFolder "jph" -deletecontent
[PS] C:\Windows\system32>Get-Ma
ox "exportmailbox" -TargetFolder "jph" -deletecontent
The specified user "exportmailbox" could not be found.
At line:1 char:1
+ Get-Mailbox -identity jph | Export-Mailbox -TargetMailbox "exportmailbox"
-Targe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (:) [], ManagementObjectNotFoundEx
ception
+ FullyQualifiedErrorId : 98333571
[PS] C:\Windows\system32>Get-Ma
ox "exportmailbox" -TargetFolder "jph" -deletecontent
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Guys
I followed this link
https://www.experts-exchange.com/questions/28311617/Delete-Users-Exchange-2010-Mailbox-and-recreate-new.html
Please help me if I have made any mistake I went to the Exchange 2007 Management Console, Right-click the mailbox user and select "Disable" . I went into the disconnected mailbox folder and cant see the disconnected user now.
But still I created a new mail box for this user and since after creating this mail box I can see some mails have come to this mail box. but emails sent by some staff are not getting through and it comes with the following message
Delivery has failed to these recipients or distribution lists:
JPH
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.
So not sure what is happening , please suggest me how to resolve this. Also I sent an email to this user and it is 30 minutes ago and the mail had not popped on the users inbox.
Thanks
I followed this link
https://www.experts-exchange.com/questions/28311617/Delete-Users-Exchange-2010-Mailbox-and-recreate-new.html
Please help me if I have made any mistake I went to the Exchange 2007 Management Console, Right-click the mailbox user and select "Disable" . I went into the disconnected mailbox folder and cant see the disconnected user now.
But still I created a new mail box for this user and since after creating this mail box I can see some mails have come to this mail box. but emails sent by some staff are not getting through and it comes with the following message
Delivery has failed to these recipients or distribution lists:
JPH
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.
So not sure what is happening , please suggest me how to resolve this. Also I sent an email to this user and it is 30 minutes ago and the mail had not popped on the users inbox.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The database name is "Staff" Is the below syntax correct
clean-mailboxdatabase -database <Staff>
Also when I send email to JPH from my OWA the mail is received on the JPH mail box.
But if I send it from outlook client the mail doesn't appear on JPH inbox. I cleared auto complete and no cashing at the moment.
I don't get any NDR report, not sure where the mail goes.
thanks
clean-mailboxdatabase -database <Staff>
Also when I send email to JPH from my OWA the mail is received on the JPH mail box.
But if I send it from outlook client the mail doesn't appear on JPH inbox. I cleared auto complete and no cashing at the moment.
I don't get any NDR report, not sure where the mail goes.
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Will
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Will
When I give the clean database command , how long will it take to clean.
During this process will the exchange be down.
Thanks
When I give the clean database command , how long will it take to clean.
During this process will the exchange be down.
Thanks
ASKER
Please post me the right Cmdlet to delete mails from : Inbox, sent items , and Deleted items
Thanks