Link to home
Start Free TrialLog in
Avatar of Starquest321
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
ASKER CERTIFIED SOLUTION
Avatar of e_aravind
e_aravind
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of Starquest321
Starquest321

ASKER

Will the search mail command also EXPORT the mail to a pst and delete the originals ALL in one command?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the points!