Troubleshoot PowerShell plugin error

Troubleshoot the error message "execution of scripts is disabled" while configuring a PowerShell plugin

When the error message "execution of scripts is disabled" shows up while configuring a PowerShell plugin, it means that the execution policy of PowerShell on your system is set to restrict the running of scripts.

To fix it, update the execution policy to unrestricted.

To do this, follow the steps below:
  1. Login to your server.
  2. Run the PowerShell prompt as Admin and execute the following:
    Set-ExecutionPolicy unrestricted
  3. Restart the plugin agent service.


Related Articles: