Topic
This article shows you how to access and import scripts from the Template Library in NinjaOne.
Environment
NinjaOne Endpoint Management
Description
The Template Library is a collection of scripts we collected from a list of popular requests from the NinjaOne community, written by our in-house script development team, and resides within NinjaOne's automation library.
We record all new and updated scripts in the Announcements and Webinars section of the NinjaOne Dojo. Refer to Announcements and Webinars for more information.
NinjaOne template scripts are provided "as-is." It is the user's responsibility to test and evaluate them before implementation.
- Scripts provided in the Template Library tab are available to every NinjaOne account. You must import scripts before you can use them.
- You can use template scripts for more complex operations. The code is visible for customer verification.
- To request that we add a script to the Template Library, submit your idea to our NinjaOne Template Library Productboard.
Select a topic to learn more:
Navigating to Template Scripts
- In NinjaOne, navigate to Administration → Library → Automation, then select the Template Library tab.
- The Automation library list will open, allowing you to browse all template scripts in the library.
Importing Template Scripts
Importing a template script moves it to the Automations tab, where you can use it to customize your automations.
- In the Automation library list, place your cursor over the template you want to use, then click the ellipsis (three dots) menu when it appears and select Import.
- The script editor will open. In the Categories drop-down menu, select the categories in which you wish to place the script, then click Import.
NinjaOne will open a prompt window alerting you that all scripts are provided "as is." Click Agree to continue. NinjOne will save your script template.
Accessing Imported Script Templates
After importing the script, you can access it from the category you added it to by filtering for that category or script name in the Automations tab.
- Navigate to Administration → Library → Automation, then click the Automation tab.
- Find your new script template in the Automation library list.
Additional Resources
Refer to the following resources to learn more about using scripts and automating in NinjaOne: