Topic Last Modified: 2013-07-05

The Windows PowerShell execution policy helps to determine which configuration files can be loaded into the Windows PowerShell console, and which scripts a user can run from that console. At a minimum, the Lync Online Connector module cannot be imported unless the execution policy has been set to RemoteSigned. If it has not, then you will receive the following error message when you attempt to import the module:

Copy Code
Import-Module : File C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\LyncOnlineConnector\LyncOnlineConnectorStartup.psm1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.

To resolve this issue, start Windows PowerShell as an administrator, and then run the following command:

Copy Code
Set-ExecutionPolicy RemoteSigned

For details about execution policy, see the Help topic at http://go.microsoft.com/fwlink/?LinkID=135170.

See Also