Starquest321
asked on
Exchange 2010 Delete
After having run an Export-Mailbox command I would like to now DELETE the exported email . . . so I can clean up the mailbox size. What is the correct command?
PS - If anyone knows I am having trouble with the syntax from a previous question
https://www.experts-exchange.com/questions/27313428/Export-Mailbox-New-Exmerge-In-2010.html
PS - If anyone knows I am having trouble with the syntax from a previous question
https://www.experts-exchange.com/questions/27313428/Export-Mailbox-New-Exmerge-In-2010.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
With 2010 SP1 and greater you have to use the Search-Mailbox command with the DeleteContent parameter. Check out http://technet.microsoft.com/en-us/library/dd298173.aspx
ASKER
Will the search mail command also EXPORT the mail to a pst and delete the originals ALL in one command?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points!