Blog / Insights

Does Kaseya VSA include scripting? Agent procedures, automation and their limits

Insights By the Helios team · 18 October 2026 · 7 min read

Yes, Kaseya VSA includes scripting, and the native form is the agent procedure: a step-based script built in VSA's own editor, which can also call PowerShell, batch files and executables on the endpoint. For routine software deployment, file clean-up and registry changes, agent procedures cover most of what a small MSP needs. Their limits show up in complex logic, error handling and portability, because the procedure format belongs to VSA and does not move to any other tool. Here is how to judge whether that matters to you.

What an agent procedure actually is

An agent procedure is a sequence of steps the VSA agent executes on a machine. Each step is a predefined action: write a file, run a command, set a registry value, check whether something exists, then branch on the result with If and Else blocks. You assemble them in the procedure editor rather than writing free text, and you can schedule them, trigger them from alerts or policies, or run them on demand against a machine or group.

The appeal is obvious to anyone inheriting VSA. A technician who has never written PowerShell can build a procedure that copies an installer, runs it silently and reports back. The steps are visible, the logic is readable and the output lands in the agent's procedure log.

The catch is that it is a domain-specific language. Variables, conditions and loops exist, but in a narrower form than a real scripting language, and anything the built-in steps do not cover gets handed off to a shell command anyway.

What agent procedures do well

Whether the machines belong to clients or to your own organisation, these routine jobs are the bulk of day-to-day automation, and VSA handles them.

The linearity test: if you can describe the task as a numbered list with one or two checks, an agent procedure will do it comfortably. If the description needs the word "unless" more than twice, write it in PowerShell and let the procedure call it.

Agent procedures versus PowerShell scripting

The common advice is to choose one or the other. That framing gets it wrong. In practice, well-run VSA estates use agent procedures as the wrapper and PowerShell as the engine.

ConcernAgent procedurePowerShell
Learning curveLow, visual stepsHigher, real language
Complex logic and loopsLimitedFull
Error handlingBasic branchingTry and catch, structured output
Access to Windows APIs and modulesThrough shell stepsNative
Portability to another RMMNone, VSA format onlyHigh, plain text
Testing outside the RMMNot reallyRun it locally

The procedure handles delivery: getting the script onto the machine, scheduling it, capturing output into a variable and writing it to the log. PowerShell handles the work: querying WMI, parsing results, dealing with the awkward edge cases.

Where the boundary bites

Three things tend to push technicians towards PowerShell. First, iterating over a list of items, which is clumsy in procedure steps. Second, meaningful error handling: a procedure can check a result, but it cannot easily distinguish five kinds of failure. Third, anything involving structured data such as JSON from an API. A procedure that tries to do all of this becomes a long, brittle chain of steps that only its author can read, a script wearing a flowchart's clothes.

The limits worth knowing before you rely on it

Running context. Procedures typically run as the system account, which is right for installs but wrong for anything touching the logged-on user's profile or HKCU. VSA offers ways to run steps as the user, but it is a common source of scripts that work in testing and fail on the estate.

Debugging. Your feedback is the procedure log. For a long procedure, finding which step failed and why can take longer than writing it did. Writing explicit log lines at each stage is not optional.

Library sprawl. Estates accumulate procedures the way lofts accumulate boxes. If you are inheriting VSA, expect duplicates, half-finished versions and procedures nobody dares delete. Audit before you build.

Automation is not remediation. Agent procedures do what you tell them when you tell them. Deciding what is wrong with a machine and choosing the fix is still a human job, or a different kind of tooling entirely, as covered in our piece on what AI auto-remediation actually involves.

What moves cleanly if you switch from VSA

This is where the wrapper-and-engine approach pays off. When you leave VSA:

The portability of your automation is decided the day you write it, not the day you leave.

If a switch is on the horizon, start moving logic into PowerShell now and keep procedures as thin launchers. Our guide to leaving Kaseya VSA around a multi-year contract covers the timing and the overlap.

Does VSA's automation cover your routine tasks?

For deployment, clean-up, configuration and scheduled maintenance, yes. For anything with heavy logic, user-context work or API calls, VSA can still do it, but only by running PowerShell, at which point the agent procedure is mostly a delivery mechanism. The practical question is less whether VSA can script and more whether your scripts will outlive your contract.

Where this fits with Helios

Helios runs PowerShell and other scripts directly, so a library built the portable way moves across without translation. Its built-in AI technician, Helio, goes a step further than scheduled scripts: it investigates alerts, runs diagnostics, applies or writes a fix and checks the fix held, within plain-English rules your technicians set. Most of what this article argues for is discipline, not tooling: thin wrappers, logged steps and an audited library help on any platform. If you want to see how the platforms differ on automation and pricing, the Helios comparison pages lay it out side by side.

Common questions about Kaseya VSA scripting

Can Kaseya VSA agent procedures run PowerShell scripts?

Yes. Kaseya VSA agent procedures can execute PowerShell through a shell command step, capture the output into a variable and write it to the procedure log. Many MSPs use this pattern deliberately, keeping the real logic in PowerShell where it is testable and portable, and using the agent procedure only to schedule and deliver it.

Can I export Kaseya VSA agent procedures?

Kaseya VSA agent procedures can be exported as XML files from the procedure editor. The export preserves the steps and their order, which is useful as documentation and for rebuilding elsewhere, but no other RMM imports the VSA procedure format directly, so each procedure has to be recreated by hand on a new platform.

Do I need to know PowerShell to use Kaseya VSA?

Basic Kaseya VSA automation, such as silent installs, file clean-up and registry changes, can be built with agent procedure steps and no PowerShell at all. Knowing PowerShell becomes valuable as soon as tasks need loops, structured error handling or API calls, and it makes your automation far easier to move if you later change RMM.

Why MSPs choose Helios

One platform that does the work, at a price that stays put

Helio fixes, not just flags

When an alert fires, Helio, the AI technician built into Helios, investigates it, writes the fix and runs it once you approve. It keeps what works, so the next one is quicker.

Everything in one product

RMM, a service desk with SLAs, patching including third-party apps, remote access, Microsoft 365 and Defender checks, backup monitoring, a client portal and billing into Xero or QuickBooks.

Priced by fleet, not by people

£4 a device on Launch up to 25 devices, from £20 a month, then £99, £199 or £399 a month by fleet size, with any number of technicians and every feature on every plan.

A price that stays put

Your price is locked for as long as you stay subscribed, and that is written into our terms. Monthly billing, cancel any time.

Bring your clients across

Import your clients and machines from another RMM's CSV export, then roll the Helios agent out at your own pace, with a count of how many have arrived.

14 days free, no card to start

The full platform from the first minute, on your own machines. No sales call. Remote control asks for one card check, and nothing is charged.

See it on your own fleet

Helios is the AI-native platform for MSPs: monitoring, patching, security, Microsoft 365, backup monitoring, remote access, client billing and an AI service desk in one product, at one flat price per MSP. Contracts and logged time become invoices in Xero or QuickBooks without leaving the platform. Every feature is on every plan. 14-day free trial, card-free, set up in minutes, cancel any time.

Start free

Researched and written with Helio SEO, our AI writer for business blogs.