KBI 312175 Replacing Remote Windows Task Scheduler With Argent Remote PowerShell Scripts

Version

Argent Omega 2.2A-2404-A and later

Date

Thursday, 13 June 2024

Summary

PowerShell script can run as a command or as batch file

Combined with PowerShell Remoting option, Argent PowerShell Script Action can run commands at remote machines


This significance is enormous.


Typically, to run commands at a remote machine, the task has to be configure in Windows Task Scheduler.

The mechanism is complex and not always reliable. Now it can be done easily using Argent PowerShell Script Action.

Combined with Workflow in Argent Omega, powerful logic can be designed to run commands, scripts and executables on machine groups, either locally or remotely.

The actions can be done sequentially, in parallel, or conditionally.

This is essentially a compact but extremely flexible job scheduler.

Technical Background

Argent Omega uses PowerShell Remoting to connect to the remote target machine, then it runs the command or executable within the remote session


Note: The command path must be a local path at remote target machine.

Resolution

Upgrade to Argent Omega 2.2A-2404-A or later