The Scripting capabilities in Sassafras allow you to extend KeyConfigure with tasks and options specific to your workflow. Anyone who understands JavaScript can write scripts and share them with other Sassafras administrators. This page provides some scripts that are broadly useful to all Sassafras administrators. Documentation for all aspects of scripting is available at these links:
- Manage Scripts Window — describes how to install scripts
- Scripting Tutorial — gives an overview of writing scripts
- Scripting Reference — provides details for script development
The scripts listed below can be added to KeyConfigure to extend functionality. Click on the Install link next to a description to add the script to KeyConfigure. You must have KeyConfigure installed on the computer on which you are viewing this page.
Use these as they are, or as a starting point for writing your own scripts. Writing scripts requires knowledge of the JavaScript language. If you have an idea for a script that might be of general interest to other Sassafras admins, contact Sassafras to see if we can provide assistance.
Add Tags Adds tags to selected computers, policies, products, and users. | Sassafras Software | Install or Download |
Remove Tags Removes specified tags from selected computers, policies, products, and users. | Sassafras Software | Install or Download |
Add Tag to Listed Items Adds a tag to all objects listed in a supplied text file. | Sassafras Software | Install or Download |
Show Tagless Items Opens a new window that lists all of the items of a certain type that have no tags. | Sassafras Software | Install or Download |
Set PVU Sets the PVU for selected computers. | Sassafras Software | Install or Download |
Change Lifecycle Stage Changes the Lifecycle Stage for selected computers. | Sassafras Software | Install or Download |
Move Computers Changes login, division, lifecycle, and anchor settings for selected computers. | Sassafras Software | Install or Download |
Computers Without Product Lists all computers that do not have the selected product(s) installed. | Sassafras Software | Install or Download |
Reset Station ID Reset the Station ID of the selected computer(s) to the default (equal to Computer ID). | Sassafras Software | Install or Download |
Change Policy Expiration Changes the expiration date for selected policies. | Sassafras Software | Install or Download |
List Computers Given a text file with a list of computer names, open a window showing corresponding computer records. | Sassafras Software | Install or Download |
Gather Dell Dates Query warranty dates for selected Dell computers by SN, using an API key. | Sassafras Software | Install or Download |
Lookup Lenovo Warranty Date Query warranty dates for selected Lenovo computers by SN. | Sassafras Software | Install or Download |
Change Map Visibility Show or Hide selected Products on KeyReporter’s Availability Maps and Software Lists. | Sassafras Software | Install or Download |
Sync with TeamDynamix Synchronize Computer, Product, and Audit data with TeamDynamix. | Sassafras Software | Install or Download |
Show Package Audit List the packages on a computer, or the computers that have a given package. | Sassafras Software | Install or Download |
Import Time Sets Import Time Sets from a CSV formatted file, adding new sets or replacing existing sets as appropriate. | Sassafras Software | Install or Download |
Export Detail URLs Save URLs for accessing the selected objects, useful for creating QR Code labels. | Sassafras Software | Install or Download |
Have you written a script that you think would be useful to other Sassafras administrators? Send it to Sassafras and we will review it for inclusion on this page. Your script must follow the bundling guidelines in the Tutorial and Reference, and should not contain any settings that are specific to your usage (e.g. host names, passwords, URLs). Send questions, requests, and submissions to Sassafras Support.