Which
module are you using to do this?
Here's
an example with Win32API::Registry ...
use
Win32API::Registry 0.13 qw( :ALL );
$victim="\\\\REMOTECOMPUTERNAME";
$seconds=3;
$force=0;
$rebootaftershutdown=1;
InitiateSystemShutdown($victim,"This machine is going
down!", $seconds, $force,$rebootaftershutdown);
HTH...
-----Original Message-----
From: Tfbsr Bertrand [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 1:17 PM
To: perl perl
Subject: reboot a remote win32 machine
From: Tfbsr Bertrand [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 1:17 PM
To: perl perl
Subject: reboot a remote win32 machine
I am trying to reboot a remote win32 machine, what do I need to do to ensure that it works. It always reboots the machine I am running the code on.ThanksTerry
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard