Addigy allows for you to assign a script or scripts to an end user's computer via Self Service so the end user can run these scripts at their convenience. These scripts can range from simple to complex as the need requires.
Scripts can be added to a device's Self Service application either through Devices > Run Commands or through GoLive > Scripts.
The Scripts section of Self Service will not show unless there is a script assigned to that machine.
Requirements: Script deployments to Self Service are only supported on macOS 10.13 and up. Moreover, a Self Service configuration must be deployed to the device.
Assigning Scripts to Self Service via the Devices Page
Within Addigy, click on Devices on the far left sidebar. On the top right of the page, the Run Commands section allows you to send or run scripts to the device to run in real time.
With the addition of assigning scripts to Self Service, you know have another option when pressing the Send button. After selecting a script and pressing Send, you will get an option to add that script to Self Service.
Clicking Add to Self Service will add that script to a device's Self Service. You will see a success header after it's been sent successfully.
An end user will now see the Scripts section and the assigned script in Self Service.
If Self Service is open on the user's device, any script addition or deletion will require a refresh of the Scripts section in Self Service. This can be accomplished by clicking the Scripts icon, any other icon and then back to Scripts or restarting the Self Service app.
When the end user runs a script using Self Service, the Run button will change to Running. When the script finishes, it will show a green Done message with a check next to it. Note: For devices running on High Sierra (OS X 10.13), it will show a Done message with a check next to it and then disappear after 2 seconds.
If a script has output, this is recorded in three places, the Events dashboard, the GoLive > Events tab and in Script History. Script History can be found on the Devices page and in the GoLive > Scripts tab.
Assigning Scripts to Self Service via GoLive
On a device's GoLive page, click the Scripts tab.
After selecting the script and then clicking Send, you will get a modal to either Run the script or Add to Self Service. When clicking Add to Self Service, you will get a success banner if completed successfully.
Remove Device Scripts from Self Service Individually or in Bulk
Scripts can be removed from a device via the Devices page (by clicking the Manage button) and the device's GoLive > Scripts tab.
After you're in GoLive for a device, click the Scripts tab. You can remove a script by clicking the red trash can to the left of the name of the script. You can also remove all scripts by selecting multiple scripts and clicking the Remove from device button.
On the devices page, click the Manage button next to the Run Commands field box. On this page, you'll now see a new Manage link that will bring up a drop down to use the script, edit the script or see all of the devices that have this script assigned to Self Service.
When you click Devices, it will now show you all of the devices that have this script assigned to it. You can filter and sort the name or serial number by ascending or descending order. Click the checkbox next to the devices you'd like to remove the script from and then click the Remove from device button. Moreover, you can remove the script from one device at a time by clicking the red trash can icon.