Topic
NinjaOne provides multiple resources for our robust policy management tool. To aid your knowledge search, please refer to this catalog for a complete list of guides and a brief description.
Environment
NinjaOne automation and scripting
Description
- Getting Started
- General Supporting Documentation
- Native Custom Scripts
- Command Line Interface (CLI)
- Help and Troubleshooting
- Script Share
Getting Started With the Automation Library
NinjaOne Endpoint Management: Getting Started with Automation Scripting: View support and requirements and learn how to use the Automation Library.
General Supporting Documentation
- Automation Script Templates: This article shows you how to access and import scripts from the Template Library in NinjaOne.
- Run or Install Application Automations: This article provides instructions for running or installing automations on a device and configuring default parameters.
- Native Automation Scripts: The NinjaOne console provides native automation scripts that you can deploy to your managed devices. This article describes the functions of the scripts included with your NinjaOne subscription.
- Template Scripts: This article shows you how to access NinjaOne's template scripts and import them.
- Using Variables in Automation Scripts: This article explains how to use variables when running scripts in NinjaOne.
- Automation Parameters and Environment Variables: This article explains the purpose of parameters when installing or running scripts and automations in NinjaOne, and answers commonly asked questions.
- Script Variable Types: When creating scripts in the Automation Library, you can add multiple types of script variables that affect the interactive form present when a script is run. This article provides an explanation of script variables and guidance on how to use them.
- Run Scripts and Applications on Demand: Run an ad hoc automation for one or more devices from the NinjaOne dashboards.
- File Transfer Automation: This article describes how to transfer files to endpoints that have the NinjaRMM agent deployed.
- Secure Token Automation Scripts: This guide explains the extra steps required to use the Secure Token script templates in NinjaOne's Automation Library.
Native Custom Scripts
The following includes scripts created by NinjaOne that can help you perform certain tasks.
- Custom Script: NinjaOne Agent Removal (Microsoft Windows)
- Custom Script: NinjaOne Agent Removal (macOS)
- Custom Script: Vulnerability Importer
- Lock TeamViewer Settings
- Custom Scripts: Remove TeamViewer (macOS)
- Custom Scripts: Remove TeamViewer (Windows)
- Restart NinjaRMMAgent
- Find Windows install date
- Run PowerShell in 64-bit mode
- Remove TeamViewer (Windows)
- Delete a registry key
- Installing Apps that require license keys
- Upgrade Windows 10 build
Command Line Interface (CLI)
- Using Command Line Interface (CLI) in NinjaOne: NinjaOne's CLI is a robust tool, allowing you much of the same functionality and visual properties as if you were running cmd.exe on Windows (or Terminal on macOS). We also can launch PowerShell remotely on Windows devices!
- Grant CLI permissions to a technician
- Launch CLI or PowerShell on a Windows device
- Launch CLI (Terminal) on a macOS or Linux Device
- Additional terminal launch options
- Custom Fields and Documentation: CLI and Scripting: The ninjarmm-cli component is an executable file that allows you to access and interact with specific custom fields and documentation data from the command-line interface (CLI), terminal, or custom scripts.
- Command Line Interface (CLI) Supported Fields and Functionality: This documentation describes the ninjarmm-cli component for Windows, Mac, and Linux devices.
- Command Line Interface (CLI): Frequently-Asked Questions (FAQ): This article answers frequently-asked questions about using CLI in NinjaOne.
- Command Line Interface (CLI): Troubleshooting When Command is Not Recognized: When attempting to run a command via the CLI in Ninja, an error message similar to, "...is not recognized as an internal or external command, operable program or batch file" appears.
Help and Troubleshooting
- What type of scripts does NinjaOne support?: This article provides a list of script types that are supported by NinjaOne.
- Automation Library: FAQ
- Install Application Native Script: Troubleshooting
- Command Line Interface (CLI): Frequently-Asked Questions (FAQ): This article answers frequently-asked questions about using CLI in NinjaOne.
- Command Line Interface (CLI): Troubleshooting When Command is Not Recognized: When attempting to run a command via the CLI in Ninja, an error message similar to, "...is not recognized as an internal or external command, operable program or batch file" appears.
Script Share
The following includes scripts shared by NinjaOne customers that can help you perform certain tasks.
*Disclaimer: NinjaOne does not verify or test the scripts shared in our community. We recommend testing all scripts on a small set of devices prior to running them on a broad scale*