ninjaone-cli

Access and modify NinjaRMM custom fields from CLI and PowerShell scripts.

12|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/matdew/NinjaOne-Scripts --skill ninjaone-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ninjaone-cli
Source: https://github.com/matdew/NinjaOne-Scripts/tree/main/Claude%20and%20Copilot/.claude/skills/ninjaone-cli
Command: npx skills add https://github.com/matdew/NinjaOne-Scripts --skill ninjaone-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates and simplifies interaction with NinjaRMM custom fields from scripting environments, reducing manual steps and errors when reading and updating fields.

Core Features & Use Cases

  • Access and modify custom fields from Windows batch, Bash, and PowerShell scripts.
  • Retrieve friendly values for dropdowns and multi-selects, or raw GUIDs when needed.
  • Manage documentation templates and field interactions from the CLI, including listing templates, getting and setting documentation fields, and clearing values.

Quick Start

Install the NinjaOne agent with ninjarmm-cli, then run ninjaone-cli get <FieldName> to read a field value.

Frequently Asked Questions about ninjaone-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get and set NinjaRMM custom fields from a PowerShell script?

Retrieve and modify NinjaRMM custom fields from PowerShell by executing the unified ninjarmm-cli command surface, which supports reading, updating, and clearing field values across Windows and Unix environments.

Can I retrieve both raw GUIDs and friendly values for NinjaRMM dropdown fields?

Yes, you can retrieve both raw GUIDs and friendly values for NinjaRMM dropdown and multi-select custom fields, allowing your automation scripts to pull the exact data format required.

Does NinjaOne CLI support managing documentation templates from the command line?

Yes, NinjaOne CLI supports managing documentation templates from the command line, enabling you to list templates, get and set documentation fields, and clear values within your scripts.

What permissions do I need to run ninjarmm-cli commands for field automation?

Running ninjarmm-cli commands for field automation requires the NinjaOne agent to be installed and explicit permission configurations to authorize the CLI tool location to access and modify custom fields.

Are there cross-platform path conventions for NinjaRMM CLI automation on Windows and Unix?

NinjaRMM CLI automation applies cross-platform path conventions as explicit operational requirements, ensuring scripts execute consistently across both Windows and Unix environments.