Issue
The following error may be logged in the Exchange Module log file:

2017-01-10 10:14:39Z|2224| 13|ERROR| ProcessCommand|Unable to
process command ExchangeTransferDatabases, exception was thrown. Void
EndInvoke() The term 'Get-MailboxDatabase' is not
recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.  at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() 
 at
System.Management.Automation.PowerShell.CoreInvokeRemoteHelper[TInput,TOutput](PSDataCollection`1
 input, PSDataCollection`1 output, PSInvocationSettings settings) 
 at
System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1
 input, PSDataCollection`1 output, PSInvocationSettings settings)  at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings) 
 at
QUADROtech.PowerShell.PowerShellWrapper.ExecutePsCommand(PSCommandBase
command, Boolean throwExceptionOnError, Int32 retryCount)  at QUADROtech.PowerShell.Exchange.ExchangePowerShell.GetMailboxDatabases2013() 
 at
QUADROtech.MailboxShuttle.ExchangeModule.CommandExecutors.ExcDBsRetriever.<>c__DisplayClass4_0.<Process>b__0(ExchangePowerShell
 exchangePowerShell)  at QUADROtech.MailboxShuttle.ExchangeModule.ExchangeExecutor.Executor.Execute(Object param, Action`1 actionToExecute) 
 at
QUADROtech.MailboxShuttle.ExchangeModule.CommandExecutors.ExcDBsRetriever.Process(CommandExecutionResults
 results, ContractWithServer contract)  at QUADROtech.MailboxShuttle.Module.Base.BaseClasses.CommandExecutorBase`1.Execute(ModuleCommand command)  at QUADROtech.MailboxShuttle.Module.Base.BaseClasses.CommandProcessor.Process(ModuleCommand command)  at QUADROtech.MailboxShuttle.Module.Base.BaseClasses.CommandProcessor.ProcessCommand(ModuleCommand command)

 
Solution
It is likely that the account which is running the Exchange Module Service is not an Exchange administrator in your environment. Verify the credentials used by the service, if required change them, and restart the service.

Print Friendly, PDF & Email