Jerry Seinfield
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
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.