NinjaOne API Scripts
NinjaOne API Examples

Software

Scripts

  • Get Ninja Software from Organization

    This script retrieves software and device data for a specified organization from NinjaOne. It groups the software by name, publisher, and product code, aggregates associated device IDs and names, and then sorts the groups by device count in descending order. Finally, the script exports the results to a timestamped CSV file in the designated output folder.

  • Get All Devices with a Piece of Software Installed

    This script finds all devices managed by NinjaOne that have a specific piece of software installed (defaults to Google Chrome)