CA Process Automation Service Pack 04.3.03
I am using the run_script operator to run the a piece of powershell script on remote machine. I have defined the host names in Parameters section of the operator as below
I am looking for a way to use the "defined operator parameters" in the Inline script, any inputs on how to use the values of parameters in the inline script.
Just as a special note, you have to be careful what the content is of the variables you pass to PowerShell are.
Some characters will cause PowerShell to not parse the input properly, I have often found that to be a problem with complex passwords that use special characters.
Sometimes you can avoid this by wrapping the variables in single quotes, but not always.
Hope this helps,