Wednesday, June 3, 2015

shutdown a windows PC with PHP

$runcmd="net rpc SHUTDOWN -C \"This system was left on a fter hours and is being shutdown\" -f -I \"".$ip."\" -U ".$ldap_id."%".$ldap_pas s." 2>&1 /dev/null"; 

No comments:

Post a Comment