Issue

When attempting to mailbox enable a user on Exchange 2007 or above you may receive the error "Could not load file or assembly 'System.Management.Automation".



Cause

This error can occur if PowerShell is not installed on the machine running XIA Automation Server.



Solution

Ensure that the correct Exchange version is selected within the configuration.

Install PowerShell and the Exchange Management Console on the machine running XIA Automation Server and try again.