OniConnect
OniConnect guide

How to Run Commands on Multiple PCs at Once

Some IT jobs are too small for a remote session and too repetitive to do by hand. Check whether a setting is right on twenty machines. Clear out temp files everywhere. Restart a service. Find out what version of something is actually installed. Doing that PC by PC — walk over, or remote in, run the command, close, repeat — turns a five-minute job into an afternoon.

Running commands remotely across the fleet is the middle gear of IT work: faster than a session, more flexible than a fixed button. Here's how to use it well.

What remote commands are good for:

Checking things. The fastest way to answer "is X true on all our PCs?" is to ask the PCs. A quick command can report a setting, a version, a free-disk figure, or whether a service is running — on every machine, in one pass. It's the difference between sampling three PCs and hoping, and actually knowing.

Small fixes. Restart a stuck service, clear a temp folder, flush a cache, kill a frozen process. These are one-line jobs. Running them remotely beats a full remote session for each machine, and beats walking the floor by a mile.

Gathering facts before bigger work. Before a fleet-wide software change, a command sweep tells you what you're working with: what's installed where, which machines are low on disk, which ones haven't restarted in weeks. That pairs naturally with installing software on every PC at once — check first, deploy second.

How it works in OniConnect. Each device on your dashboard can run commands remotely through the agent — you send the command, the machine runs it, and the output comes back to you. For a single PC it's the quickest way to check or fix something small without taking over the screen. For repetitive work, you run the same command machine by machine from the same dashboard, without travelling or interrupting the person at the keyboard. And when the job is bigger than a command — you need to see the screen, click through an installer, watch an error happen — that's when you step up to a full remote desktop session instead.

The honest rules of remote commands:

Test on one PC first. A command that works on your test machine and a command that works everywhere are different things. Run it on one device, read the output, then roll it out. This takes two extra minutes and prevents the classic "it worked on mine" fleet-wide mess.

Read the output. Remote commands tell you what happened — use that. If three machines report something different from the other seventeen, those three are your real to-do list.

Be careful with destructive commands. Anything that deletes, overwrites, or changes settings deserves a pause. There's no undo button on a command that's already run on twenty machines. When in doubt, run the read-only version first (list, check, report), then decide.

Know when a command isn't the tool. Installing software across the fleet is Automation's job, not a hand-rolled command. Restarting a whole machine is one click, covered in how to restart or shut down a PC remotely. Commands are for checking, nudging, and small fixes — use each gear for what it's for.

A realistic example: Monday morning, a program is misbehaving on several PCs. Instead of remoting into each one, you run a quick check across the fleet to see which machines have the bad version, restart the service on the affected ones, and only open a full session on the one machine that still looks wrong. Twenty minutes, no travel, nobody's work interrupted.

Remote commands sit alongside monitoring and remote sessions in OniConnect, with published per-device pricing: Solo covers 20 devices for $10 a month, and Team covers 40 for $35 with remote sessions and fleet-wide installs included. Start with the free 3-day trial (your selected plan's device limit), run a harmless check command on your machines — something read-only, like reporting free disk space — and see how fast "check everywhere" becomes a one-pass job.

Try it on your own machines

OniConnect starts at $10/month for 20 devices, with a free 3-day trial with your selected plan's device limit and features. No card required.

Start free trialSee pricing

More guides