Symptoms

When you scan a Backup Exec Server you see the following error


"The Backup Exec server agent encountered an exception when 'Loading the Backup Exec PowerShell module (BEMCLI)'. File C:\Program Files\Symantec\Backup Exec\Modules\PowerShell3\BEMCLI\BEMCLI.Scripts.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."



Cause

This can occur when the PowerShell script execution policy has not been set to RemoteSigned.



Resolution

Manually follow the instructions in the section Set Execution Policy to RemoteSigned.


or


Enable the Automatically Set Execution Policy setting in the agent's PowerShell settings.