You could include the psexec command in your perl script and use a foreach loop to hit every machine name that you store in the array. If you use the -d switch the psexec will not wait for any failures so your script won't hang on mmachines you cant run the process on.
Also rclient allows the copying and executing of batch files.
Dex
"DePriest, Jason R." wrote:
I currently use an ugly practice...
I create a batch file locally, upload it to the remote system using robocopy (from the NT Resource Kit), then use psexec (from sysinternals) to force it to run on the other system.This isn't pleasant, but it works.
-Jason
-----Original Message-----
From: Veeraraju_Mareddi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:34 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: Remote processDear List
How do we execute some script on REMOTE machine. That means I wanna create
a process on a remote machine which is my perl script. Is there any module
written for this purpose. Can we do it with Win32::AdminMIscyour help and suggestion would be highly appriciated
With Regards
Rajuveera_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin