Link to home
Create AccountLog in
Avatar of Jerry Seinfield
Jerry SeinfieldFlag for United States of America

asked on

error found while running New-Mailboxsearch

Hi Expert,

I a running into an issue where every time I use the operator OR got an error as per screen shoot attached

I did run the command below using only one criteria on the SearchQuery and it worked. So, If I take out the OR Sunrise my command works fine

Please see cmdlet below

New-MailboxSearch -Name "Test4" -SourceMailboxes user1,user2 -TargetMailbox "Discovery Search Mailbox" -StartDate "03/01/2013" -EndDate "07/02/2013" -SearchQuery "Lakeshore Beach" OR Sunrise

Any ideas?

I tried to use quotes "Sunrise" with no luck. got same results
Error1.jpg
ASKER CERTIFIED SOLUTION
Avatar of Alexander Kireev
Alexander Kireev
Flag of Russian Federation image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer