Re: Interactive script (127 Views)
Reply
Super Advisor
Ratzie
Posts: 852
Registered: ‎01-10-2002
Message 1 of 2 (159 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.

Please use plain text.
Advisor
Ramon_Vazquez
Posts: 15
Registered: ‎07-18-2011
Message 2 of 2 (127 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).

 

Regards,

Ramon

Please use plain text.
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