Delete all contacts in users mailbox Exchange 2010

I'm trying to delete all users contacts in Exchange 2010 using EMS and am encountering an error

Search-Mailbox –identity "Administrator" –SearchQuery "kind:contacts" –DeleteContent
A positional parameter cannot be found that accepts argument '-DeleteContent'.
    + CategoryInfo          : InvalidArgument: (:) [Search-Mailbox], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Search-Mailbox

Search-Mailbox –identity Administrator –SearchQuery "kind:contacts" -EstimateResultOnly
This runs fine and returns results

The first query doesn't even auto-complete for -DeleteContent

Any suggestions?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Scroll to the bottom (Ignore the answer itll take you to page where you have to piece it all together yourself) the Author puts what command he used for that. It's for 2007 but it should work for 2010 too.
Or I can just post it here, haha:

Export-Mailbox -Identity USERNAME -IncludeFolders '\Contacts' -DeleteContent
KThraceAuthor Commented:
I tried that already. Export-Mailbox has been replaced with New Mailbox Export Request.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Ah ok, sorry I wasn't aware, Ill dig around some more.
KThraceAuthor Commented:
I ended up creating an outlook profile for each user and deleting the contacts through Outlook.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sorry I wasn't able to help, I was going to see if I could use a exchange box to test it out but it would have took too long for your problem.
KThraceAuthor Commented:
Was not provided a solution. Used workaround.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.