in reply to Local Reboot of NT Workstation
See InitiateSystemShutdown() in "perldoc Win32API::Registry". I'd go into more detail but I'm in a rush at the moment.