Server Automation Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive script

Highlighted
Ratzie
Regular Collector

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.

1 REPLY
Ramon_Vazquez
Super Collector

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

//Add this to "OnDomLoad" event