IDM_PowerShell_Service cannot find exchange cmdlets for exchange 2013

  • 7014069
  • 08-Nov-2013
  • 08-Nov-2013

Environment

NetIQ Identity Manager Driver - Active Directory

Situation

IDM_PowerShell_Service cannot find exchange cmdlets for exchange 2013, the server is windows server 2012 standard.
The remote loader logs the error "    Message = Error completing exchange command.  ERROR: The term 'Enable-Mailbox' 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."

Resolution

Fix the problem with 2 methods:
- shut off windows UAC, then uninstall the powershell service, uninstall exchange management tools and then reinstall exchange management tools and reinstall the powershell service.
- Install all the above mentioned programs and services, but chose to "Run as Administrator" when you do it.