Link to home
Start Free TrialLog in
Avatar of JimmyRiverside
JimmyRiversideFlag for United States of America

asked on

Deleting multiple emails in Inbox using Powershell.

We have a mailbox that we use for our SPAM Notifications and we have over 40,000 emails in the mailbox.  What PowerShell command can I use to delete them all?  We are using Exchange 2010 SP3 with Office 2013.
SOLUTION
Avatar of Leo
Leo
Flag of Australia 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
ASKER CERTIFIED 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
Hi, Just for a fun you can try this way. Configure an outlook profile for this mailbox-> set pst as local delivery, let it download everything and put it back to normal delivery:)