PS Script Working fine from Local Machine but not from PAM
search cancel

PS Script Working fine from Local Machine but not from PAM

book

Article ID: 218589

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

Executing the Powershell Script from the Local Powershell Explorer is successful. But when am executing the same script from the PAM Process its only updating the Partial password as "MUNGE2" not fully getting Updated as "{MUNGE2}restofstring"

 

Environment

Release : 4.3

Component : Process Automation

Resolution

Curly braces signify an object literal in Javascript - this explains why it thinks the actual parameter is just the contents of them.

To get around this, wrap the variable in single-quote characters:

'{MUNGE2}OEcgUQlETggpLQkPViAb'

Then the whole parameter is taken as expected.