Does anyone know of a way to power off a remote computer (Win 2K)? I've tried 
"Win32::InitiateSystemShutdown ($MACHINE,30,0,1)" but that leaves the PC in a "It is 
now safe to turn off your computer" state. This doesn't do me much good if I have to 
go out and manually power them off, then on again. I've tried Dave Roth's 
Win32::AdminMisc but I can't figure out if that can be used on remote machines. I only 
did a couple of cursory tries on my own machine (one slightly unplanned) but AdminMisc 
only logged my pc off when I had the poweroff flag set.  (ExitWindows  (EWX_POWEROFF)) 
I've got an external program that works on the remote machines, but there's got to be 
a perlish way to do it.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to