Interactively chain scripts with choosing/passing results to the next script
I want to call a script e.g. get-outlookplugins and this one gives back the information about the installed plugins. The last line in the script could be something like:
[[Atera.Invoke ScriptName Enable-OulookPlugin.ps1 PluginName=$ResultSet]]
It should then call the Script Enable-OutlookPlugin.ps1 and give the resultset or an value preselected for the variable PluginName.
For this drop-down selection for script variables would be very helpful.
I often use scripts to get an information needed in the next script. Maybe the chain or invoke can be enabled/disabled by runtime if atera sees that the script invokes another one. So in this example the get-outlookplugin can still be used seperately.