Shutdown a Windows machine from the UNIX command line
Picked up this nifty trick from command-line-fu $ net rpc shutdown -I ipAddressOfWindowsPC -U username%password This will issue a shutdown command to the Windows machine. username must be an administrator on the Windows machine. Requires samba-common package installed. Other relevant commands are: net rpc shutdown -r : reboot the Windows machine net rpc abortshutdown : [...]







