Answer the question
In order to leave comments, you need to log in
How to write an email search query in Exchange?
Colleagues, I need help with PowerShell for Exchange:
I'm trying to search for and then delete messages inside the mail system.
The task is extremely basic, but complicated by the fact that the body of the letter that I am searching for has a “+” symbol in the text.
for example
Get-Mailbox -Identity "user" | Search-Mailbox -SearchQuery body: 'Машина+' -EstimateResultOnly | export-csv -Delimiter ";" -encoding UTF8 C:\temp\test.csv
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question