S
S
Solo32212017-11-29 10:49:41
Mail server
Solo3221, 2017-11-29 10:49:41

Purge Exchange 2010 mailbox?

The user has a lot of garbage in the mailbox, I need to delete the sent messages that are in the folder (SentItems).
Calendar and junk mail. As seen in the screenshot. I know about the team

Search-Mailbox johnsmith  –searchquery “Foldername:’SentItems’” -DeleteContent
. But it simply doesn't run and throws an error: the property keword isn't supported5a1e6691a719c299784384.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pool, 2017-11-29
@pool

Search-Mailbox johnsmith -searchquery “Foldername:'SentItems'” -DeleteContent
hyphen before searchquery enter it carefully yourself, do not copy from expertsexchange

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question