Interactive script (237 Views)
Super Advisor
Posts: 863
Registered: ‎01-10-2002
Message 1 of 2 (237 Views)

Interactive script

Can you run a interactive script from HPSA?

I have a script that prompts the user for some key information before it runs.

Posts: 15
Registered: ‎07-18-2011
Message 2 of 2 (205 Views)

Re: Interactive script

You cannot have interactive scripts in SA. But if you need to pass variable information, depending how is executed (directly "run script" vs included in a software policy) you can add arguments; or maybe use custom attributes and agent tools. Depending how is created the script, maybe you need to modify it to replace prompt user to use arguments or put a wrapper (like expect).




The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.