PowerShell error from Exchange (execution of scripts is disabled on this system)
Receiving the following error when trying to provision a mailbox on Exchange:
ErrorMessages = Loading import file C:\Program Files (x86)\Quest Software\Quest One Identity Manager\Ex2010Component.dll.xml has changed the object property assignment rules and the member relationships.  Process task Enable Mailbox failed.  Login with user account domain\questidm failed.  Error creating the given root entry LDAP://domain.net (Error: Power shell initialization failed (message There were errors in loading the format data file: Microsoft.PowerShell, , C:\Users\user\AppData\Local\Temp\tmp_8607da5e-b2d2-4282-a9cb-e6166461518f_kvrxkkzy.hm5\tmp_8607da5e-b2d2-4282-a9cb-e6166461518f_kvrxkkzy.hm5.format.ps1xml : File skipped because of the following validation exception: File C:\Users\user\AppData\Local\Temp\tmp_8607da5e-b2d2-4282-a9cb-e6166461518f_kvrxkkzy.hm5\tmp_8607da5e-b2d2-4282-a9cb-e6166461518f_kvrxkkzy.hm5.format.ps1xml cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.. Error running initial script. ). ).
Both the 32-bit (x86) and 64-bit (x64) versions of PowerShell have to be set to "unrestricted" mode for remote access.
In this case the 32-bit version was still set to "restricted" while the 64-bit was "unrestricted".
Ensure both the 32-bit and 64-bit versions of PowerShell are set to use "unrestricted" remote access on the Participating Server(s), as per the following: