Win32::ShutDown - a perl extension to let you shutdown and/or restart and/or logoff a Windows PC
use Win32::ShutDown; Win32::ShutDown::ForceShutDown(); # Turns off the PC, no matter what :-)
See the documentation in the .xs module for:-
ShutDown()
Restart()
LogOff()
SetItAsLastShutDownProcess()
ForceReStart()
ForceLogOff()
ForceShutDown()
None by default.
C. N. Drake, <christopher@pobox.com>
Copyright (C) 2005 by C. N. Drake.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.