Ninja PowerShell Script – Add Monitors to Custom Field

2023-09-18T11:02:42+01:00September 18th, 2023|

Note: If you're interested in Ninja scripts, you will find another blog here with helpful scripts too for NinjaOne at https://mspp.io/ - by my friend and fellow Product Manager Luke Whitelock. This one was slightly harder than I initially anticipated because of how the data is stored, but here's how to achieve this: Creating the Custom Field Go to [...]

Diagnosing broken/misbehaving role definitions in ConnectWise Automate; come for a trip in the mystery machine

2021-12-22T01:44:13+00:00December 22nd, 2021|

Hey Gang! We're approaching Christmas, and what do people want at Christmas? They want to diagnose broken/misbehaving Automate role definitions! Firstly - if you're building your own role definition, know that you cannot use a { or } in a role definition. You may need to get creative in PowerShell if you want to do an if statement. Here is an [...]

Detect non-standard Antivirus (Like Defender for Endpoint) using Automate AV Detection

2021-11-03T21:31:08+00:00October 13th, 2021|

Manual AV Magic This post is aimed at people who are looking to detect anti-virus in a none standard way or are looking to detect Microsoft Defender for Endpoint using Automate. Firstly, this is not as simple as just importing a virus definition for Automate. Because Defender for Endpoint is essentially an extension for Windows Defender, there doesn't appear [...]

Deploying the ConnectWise Automate Agent through Intune, or how to deploy a PowerShell script as an application in Intune

2021-09-29T00:00:06+01:00May 26th, 2021|

Happy May, everyone! I've seen this question popping up quite a bit recently and thought it would make a worthwhile blog post. There are certainly a number of different ways to approach this, but I have what I think is the most convenient long term solution. Instead of putting the agent installer, in the form of EXE or MSI [...]

Monitoring with PowerShell – Deploy the Microsoft Safety Scanner (MSERT)

2021-09-29T00:01:00+01:00March 8th, 2021|

After seeing that the MSERT tool by Microsoft (The Microsoft Safety Scanner) detected recent Exchange threats https://www.bleepingcomputer.com/news/security/microsofts-msert-tool-now-finds-web-shells-from-exchange-server-attacks/, I thought it would be prudent as a secondary measure to deploy the tool, scan, and make sure everything across our estate was clean. Although I didn't have that problem in my environment, I thought it acted as a good tool [...]

Monitor Effective Alert Policy – Where are my tickets coming from?

2021-09-29T00:02:24+01:00February 22nd, 2021|

A quick one today! This report will tell you what alert template policies are set for your Internal and Remote Monitors, what groups they are set on, and it will amalgamate all the results in to a simple report ordered by Monitor Name. People often can't figure out where a ticket is coming from and this should help. Download [...]

Pulling data from a Microsoft SQL Server or any ODBC compatible data source from inside an Automate Script

2021-09-29T00:02:49+01:00January 6th, 2021|

Did you know that it was possible to poll databases / datasets outside of the Automate database? All that is needed is a System DSN (OBDC Connection) on the agent you wish to query from, and you can then reference that in the following script function: On the agent, open the ODBC Data Source Administrator and go in to [...]

ConnectWise Automate Advanced Scripting – Understanding variables passed from a monitor to a script

2021-09-29T00:02:56+01:00January 5th, 2021|

Have you ever been in a position where you have wanted to put together a custom script that triggers when a monitor fails, but you have no idea what variables are passed in to the script from the monitor? It's not like you can debug through this behaviour either as you can't trigger a script as monitor in debug [...]

Restrict or prevent an Automate script running during certain time frames

2021-09-29T00:03:05+01:00January 4th, 2021|

Happy new year, everybody! Today I am sharing a cool trick that you can use inside the Automate Scripting Engine to prevent scripts from running if the current time falls between a window that you set. This example can be run on any agent. This can be useful in situations where you say don't want a piece of software [...]

The Automate script search that most people don’t know about

2021-09-29T00:03:14+01:00December 16th, 2020|

If you've ever tried to search for an Automate script with a specific bit of text, or you've wanted to use a scripting function but you have not idea how it should be implemented then this blog post is for you! Finding a real-life example of how a script function is utilised You can perform these searches from literally [...]

Running an Automate Script without an Agent – How to use Scheduled Client Scripts

2021-09-29T00:03:22+01:00September 16th, 2020|

Good evening, campers! Before I get into today's post, if you're on LinkedIn I'd love to connect with you. Please feel free to add me, I'll be posting some content on there in the future! https://www.linkedin.com/in/gavin-stone-1938146/ Ever been in a situation where you need to run an Automate script, but don't particularly want to run it against a specific [...]

Why I think now is a good time to start phasing out RMM specific scripts

2021-11-03T21:39:24+00:00July 28th, 2020|

It is no secret that ConnectWise has had a tough time recently. When you combine sequential critical security vulnerabilities with a seemingly uncertain future for the Automate product, it's going to start worrying some people. As a Managing Partner of MSPGeek, I have what I feel is a distinct insight into the thought processes and decision making of many [...]

Diagnosing ConnectWise Control integration being broken with ConnectWise Automate

2020-06-18T19:20:13+01:00June 18th, 2020|

This is something that I am seeing more and more often (including happening to me recently too). When you open an agent in Automate this is missing: You may get an error if you are trying to access an agent using the Control button in the main dashboard. It may even tell you the integration is broken. Step 1 [...]

Security Monitoring with Powershell – Ensuring Windows Firewall Integrity

2019-12-02T14:03:57+00:00December 2nd, 2019|

Though you can get products that replace or enhance the built-in firewall on Windows machines, there are still signficant amounts of agents that rely on the Windows Firewall as the last line of defense between the outside world and one of your workstations. Getting the state of the firewalls is not as easy as you would think as it's [...]

Important – urgent ConnectWise Control update needed by 30th October

2019-10-24T14:57:43+01:00October 24th, 2019|

Hello everyone! ConnectWise put out an important notice today that has the potential to affect your ability to remote control machines if not sorted. Their announcement as below: "Connectwise discovered an issue that will impact all versions prior to the latest version in the 19.0 release. Be aware that there is no minimum Automate Version or CWC Automate Plugin version [...]

New Report – Active Directory User Health Report

2019-08-20T22:58:12+01:00August 20th, 2019|

I am happy to bring to you a report I have been working on for a long time. This report (heavily customisable with the included instructions) helps you take ownership of all thing Active Directory by providing information on Active Directory settings, Enabled Users, Disabled Users, Newly Created Users, Domain Admin membership and Group Membership. All that you need [...]

How to enable enhanced debugging for the Report Center

2019-12-10T18:32:58+00:00July 1st, 2019|

I get asked this a lot so figured it was worth putting in to a post! Open the Dashboard, System > Configuration > Dashboard Go to the Config tab Go to the Configuration tab Go to the Properties tab Sort the properties by name, and see if one exists called plugin_reportcenter_loglevel If it does exist, make sure its value is set to 6 If it does not [...]

Free Report – Get a second opinion on your patching

2021-11-03T21:50:54+00:00April 3rd, 2019|

For a good while now I have been relatively cynical of the "100% Compliant" statistic that I see on certain servers in the Patch Manager and I have been considering how best to approach finding problems with patching that were not otherwise being highlighted. I designed this report to follow an important Automate mantra; trust, but verify. This report [...]

Scripting – Easily convert multiple Powershell variables into Automate Script Variables

2021-11-03T21:51:43+00:00February 20th, 2019|

This concept really helps when you want to get multiple, individual items outside of a Powershell script and into multiple Automate scripting variables without messing about running a script multiple times to get different outputs. Step 1 In the scripting engine add a script step that does an Execute Script > Powershell. Add the following script in Script to [...]

Go to Top