MSP Programs & Scripts Code
Programs and PowerShell Scripts for MSP/RMM Admins
Brought to you by:
theitguys
File | Date | Author | Commit |
---|---|---|---|
CreateAndTestNinjaRMMEventLog.ps1 | 2019-05-29 |
![]() |
[00796e] setting up new repo |
ReadMe.txt | 2019-05-29 |
![]() |
[00796e] setting up new repo |
# # ReadMe for CreateAndTestNinjaRMMEventLog.ps1 # There is no magic here, unfortunately, just collected everything you'd need in one place. NinjaRMM has a finite amount of data it collects from an enpoint. To troubleshoot or audit, scripts have to be applied to endpoints one at a time. One part of gathering data more efficiently is scripting, which can be executed via Ninja's GUI. The ability to hit all the endpoints for a customer, or one of their sites, is for later. To get data back from commands, like a list of users and groups, to augment the "Details" screen for each endoint, I'm experimenting with the Event Viewer. I also wanted more flexibility in responses to automated & 1-time scripts. This post shows how far this testing has gone, and to solicit improvements. As a start, I wrote this ad-hoc PS script that can be run to setup and create test events to 4 sources (arbitrary), with the standard 3 severities. I can now target these logs with any software I like, and parse with NinjaRMM. It can be run on a system more than once, it just carps gently if it sees the Log & Sources are already there. Catch up to us on Slack here: https://join.slack.com/t/ninjarmm-colab/shared_invite/enQtNDczNDQxMTE1MTM3LWY3ZjYwMTFhYzE0NjE3M2YzMDkxNGNhOTVjNzFkMjk1MGZmZjQzM2RiN2JjYWE2ZjVmNjg4MTQ3ZTJmMzVlODU -pat