Any ideas how ps can be used to automate routine maintenance? It would be great if when sending a command to a system we could chose if this should be run in a power shell or command prompt environment Microsoft at some point changed the default action for powershell ps1 files to be to open in notepad instead of running them for security reasons
Meet Naima Troutt, the College Student Who Owned Charlie Kirk
That means i can't just launch a powershell script to fix an issue from the toolbox though.
This repository is a small collection of simple powershell scripts that help screenconnect administrators manage their server
Backs up your screenconnect folder to a zip file located on your desktop It stops screenconnect services, zips the folder, and then restarts the services. Discover how our powershell script can automate your connectwise screenconnect deployment, offering a customizable, efficient solution for it and msps. For any scripts that i use regularly on the same server, i usually just have a copy of that script saved locally
I haven’t found a need to find a better way to do this because we also use kaseya (rmm), which has plenty of features built in which are designed for running powershell scripts. It's been hacked together from multiple scripts and our own code to make the most reliable installer possible and get around issues with threatlocker blocking the randomized msi produced by screenconnect. This article will explain how hosts can run shared toolbox tools directly from the host page To run a tool from the shared toolbox in the current user session or as an administrator, you need the runsharedtoolasuser permission.
In connectwise control (screenconnect), you have the ability to run powershell scripts via the gui
Should you have the need to install the huntress agent via screenconnect, you can do so by hardcoding the values in the powershell script and copying and pasting it into your browser. Sometimes you may want create a support session from powershell If your connectwise instance has the guest session starter enabled you can use this module to start a session.