Expermicid Posted August 24, 2012 Share Posted August 24, 2012 (edited) [lenguaje=autoit]#cs ------------------------------------------------------- AutoIt Version: 3.3.8.1 Author..........: Pink Script Function...: Habilitar()-Deshabilitar() Uso..............: Habilitar()-Deshabilitar() Respectivamente #ce ------------------------------------------------------- Func Habilitar() $Computer = @ComputerName $WMI = ObjGet("winmgmts://" & $Computer & "/root/default:SystemRestore") $WMI.Enable("") EndFunc Func Deshabilitar() $Computer = @ComputerName $WMI = ObjGet("winmgmts://" & $Computer & "/root/default:SystemRestore") $WMI.Disable("") EndFunc [/lenguaje] Autor: Pink Saludos Edited February 16, 2014 by Expermicid Link to comment Share on other sites More sharing options...
Recommended Posts