I'm seeing a very weird error when I try to run the cmdlet 'get-mailboxsearch'. Also, when I create a new-mailboxsearch, it does not run but stays in status 'not started'.
This is an Exchange 2013 server UR6.
(PID 5500, Thread 50) Task Get-MailboxSearch throwing unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
File name: 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
[...]
It seems to be preventing the command from running.
At different times, the only other cmdlet error is:
(Process w3wp.exe, PID 5500) "Unhandled exception 'Object reference not set to an instance of an object.' when processing request /powershell?PSVersion=2.0."
Any ideas?