Hi Team
Hoping someone can help me out here, very much a NOOB with PSU but really loving how this could be used for our automation, Im trying to trigger/invoke a script i have written in PSU, and the script itself is working perfectly when manually run in PSU and it prompts me for input on the required variables. and then completes it successfully.
The problem lies in when I try to invoke this script from a dashboard i don’t get prompted to enter the variables it simply executes. i am triggering this script from a button with the below code
New-UDButton -Text ‘Test Connection to Tenancy’ -Color primary -OnClick { Invoke-PSUScript -Name TestConnectionToTenanciesViaSAM.ps1 }
It triggers the script without fail, but doesn’t prompt for input
is it even possible to trigger a script and have it prompt for the variable input?
Thanks in advance
Rhys