Skip to content

Scripts that are useful in the NinjaOne NinjaRMM, although many are useful or usable with other systems or directly on a machine with little to no modification.

Notifications You must be signed in to change notification settings

dszp/NinjaOne-Scripts

Repository files navigation

NinjaOne Scripts - Various useful PowerShell scripts for NinjaOne software

Who am I?

I am David Szpunar (@dszp) the owner and CEO of a managed IT services provider in the US Midwest with a past history of dabbling with scripts and programming as a support technician for over 20 years.

What is this?

Each folder is a separate PowerShell script that is in some way applicable to running on devices or via the API using the NinjaOne platform. Most scripts are documented through comments at the top and often require some level of configuration or parameters to use fully. Please understand the code you run, I make no claim or warranty or fitness for any particular purpose!

Scripts that are intended to be run on Windows endpoints are generally written for PowerShell 5.1, while scripts that access the API are written primarily for PowerShell 7 and are mostly untested on earlier versions. API scripts will make use of the NinjaOne PowerShell module.

Generic MSP Scripts

Many of the scripts above are perfectly usable, or usable with very minimal modification, on nearly any Remote Monitoring & Management (RMM) tool, not just NinjaRMM from NinjaOne, but generally speaking, they are all designed to run from one. Scripts that are more generic, which may be run from an RMM but don’t have any specific RMM details, or are useful outside of an RMM context, are instead in my MSP-Scripts repository.

Licensing and Attribution

Note that some of these scripts I’ve written, and some I’ve modified based on others either initial scripts or contributions; some may even be vendor-provided scripts with minor adjustments to make them more useful. I don’t claim any copyright over scripts or sections of scripts not written by me, and although I haven’t chosen a specific license for my stuff (I may do so), it’s freely usable and modifiable by others (attribution preferred). I’ve attempted to attribute code from others where it’s included. Most scripts are compilations of improvements to small useful projects over time and I’m not aware of any sources who wish to restrict the publication of code that they wrote or contributed to, but if there are objections to the public posting of any of these scripts from other sources, please let me know and I’ll be happy to adjust. You can reach me on Discord at DavidSzp or I’m sure you can probably find other ways to get in touch, I’m not terribly hard to find.

About

Scripts that are useful in the NinjaOne NinjaRMM, although many are useful or usable with other systems or directly on a machine with little to no modification.

Resources

Stars

Watchers

Forks