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 Automation Library: Getting Started with Scripting: View support and requirements and learn how to use the Automation Library.
General Supporting Documentation
- Run or Install Application Automations in NinjaOne: This article provides instructions for running or installing automations on a device and configuring default parameters.
- Native 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 Scripts: This article explains how to use variables when running scripts in NinjaOne.
- Automation Library: Parameters: 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.
- Automation Template Library: Secure Token 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: Lock TeamViewer Settings
- Custom Script: Restart NinjaRMMAgent
- Custom Script: Find Windows install date
- Custom Script: Run PowerShell in 64-bit mode
- Custom Scripts: Remove TeamViewer
- Custom Script: Delete a registry key
- Custom Script: Installing Apps that require license keys
- Custom Script: Upgrade Windows 10 build
Command Line Interface (CLI)
- Command Line Interface (CLI): NinjaOne's Command Line Interface (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
- Windows CLI Utility Overview
- Launch CLI (Terminal) on a Mac/Linux Device
- Mac/Linux Terminal Utility Overview
- Additional Terminal Launch Options
- Launch the CLI/Terminal from the Devices Search Tab
- Launch the CLI/Terminal from the Organization Dashboard
- Launch the CLI/Terminal Session in a Separate Tab
- Custom Fields and Documentation: CLI and Scripting
- Command Line Interface (CLI) Supported Fields and Functionality
Help and Troubleshooting
- What type of scripts does NinjaOne support?
- Automation Library: FAQ
- Install Application Native Script: Troubleshooting
- Command Line Interface (CLI): FAQ
- Command Line Interface (CLI): Troubleshooting
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*
- Automate the NinjaRMM Authorization Flow with PowerShell
- Script Share: Application Management
- Script Share: Data Collection
- Script Share: Device Configuration and Management
- Script Share: Drive Management
- Script Share: File Management
- Script Share: NinjaOne Agent
- Script Share: Patch Management
- Script Share: Startup/Reboot/Power Management
- Script Share: User Communication
- Script Share: User Environment Management
- Script Share: User Management