CODE
# Shutdown Remoto
# Programador: -- Wutang --

import commands
import os
import webbrowser

print
print '           -----/ Shutdown by Wutang \----- \n\n'

ip = raw_input("         * IP alvo  :")
print
rd = raw_input("         * P/ desligar -s P/ reiniciar -r : ")
print      
msg = raw_input("         * Menssagem : ")
print
tmp = raw_input("         * Tempo (em segundos) : ")
print '           < - - - - - - - - - - - - - - - >\r\n'    
#---------------------------------
cmd = 'shutdown %s -c %s -t %s -f -m\\\\ %s' %(rd,msg,tmp,ip)
os.system(cmd)

#---------------------------------
print '                                     Comando ativado ...\n'

url = 'http://www.darkers.com.br'
webbrowser.open(url)

print '            -----\        end        /----- \n'

os.system("C:\Python24\Curso\Meus Programas\shut_wu.py")


http://scriptbrasil.com.br/forum/index.php?showtopic=4178