Searching via OWA or Outlook Online Mode Fails

We have a Windows 2008 server with Exchange 2010. Searching on OWA has been fine.Now a user that works remotely has reported that there cannot search using OWA. I have tried applying the solution on the link below. Where  I have downloaded the script and run the script, but when
I try and run the last command which is .\ResetSearchIndex.ps1 [-force] <dbname> [<dbname>]...
exactly as .\ResetSearchIndex.ps1 -force mailboxdatabase
I get errors saying that the database name cannot be found, I have run the command Get-MailboxDatabase and ensured that I am using the correct databse name, I have also made sure that l running the commands in the correct direcory, any help that you can provide will be greatly apprecaited.
Who is Participating?
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.

AmitIT ArchitectCommented:
AmitIT ArchitectCommented:
or move that user mailbox to another DB and test the result first.
Daedalus_ComputingAuthor Commented:
Thanks amitkulshrestha, l will try to apply the commands tomorrow as l think the site with the problem has lost internet connectivity.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Daedalus_ComputingAuthor Commented:
I have tried all the steps that you have mentioned but l keep getting errors am l doing some thing wrong?
.\ResetSearchIndex.ps1 -force mailboxdatabase
Here, the mailboxdatabase should be the name of the mailbox-database
I guess you would've tried the above command as just the mailboxdatabase?

Alternatively if you have time, you can run the resetsearchindex for all the mailbox databases
(here there is no need to provide the database names!)

ResetSearchIndex.ps1 [-force] -all

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
Daedalus_ComputingAuthor Commented:
Thanks e_aravind that sorted out the problem
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.