Have been tasked with trying to run a CMD .bat script via psexec so that it can be ran on remote machines as system. The plan being to then schedule this to run every X amount of days, is this something that's possible?
Asked
Active
Viewed 77 times
-1
-
1Yes, is it possible. – user2956477 Jun 14 '22 at 15:57
1 Answers
0
It's possible (assuming you mean SysInternals 'PSExec'), but might not be liked under the guise of Security. There may be other more supported/allowable ways of achieving what you want - e.g. PowerShell (or even DSC if applicable).
But then it might be better/more secure, to set-up a local scheduled 'Windows Task' instead.

DennisVM-D2i
- 416
- 3
- 8