Powershell scripts not running after silent install

book

Article ID: 144133

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

Powershell scripts are not running on target Agent machine after silent installation.

 

Cause

The below lines from the documentation is not clear on the value to be set:  

-VsetPowerShellExecPolicy=
value
Specifies whether to run PowerShell scripts through CA Process Automation. The execution of PowerShell scripts on a Windows platform requires execution policy setting to "Remote Signed".

 

Environment

Release : 4.3.X

Component : Process Automation

Resolution

You need to set the value "true" to parameter "-VsetPowerShellExecPolicy" in the silent installation script.


The value "Remote Signed" needs to set inside the Powershell as below:
Set-ExecutionPolicy RemoteSigned

For detailed information on Silent Install of Agent, visit:

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/automic-process-automation/04-3-04/installing/install-and-configure/agents/silent-agent-installation.html