bueno les cuento que logre sacarlo y es de la siguiente manera, ademas le puse que me inserte en una base de datos quien hizo el reinicio:
Código PHP:
<form id="form1" name="form1" method="post" action="panelcontrol.php">
if( $_POST['procesos'] )
{
$procesos=$_POST['procesos'];
$cmd = "iisapp /p ".$procesos." /r";
$result = system($cmd);
$insertar="insert into reinicio (usuario_reinicio, fecha_reinicio) values ('$nombre_usuario', '$fecha_reinicio')";
$resultado=mysql_query($insertar,$link);
}
else{
$cmd = "iisapp";
$lineas = array();
exec($cmd, $lineas);
echo "<table width='358' border='0' align='center'>";
echo "<tr>";
echo "<td align='center' width='287' class='Estilo1' >Panel de control <br>Internet Information Services</td>";
echo"</tr>";
echo "<tr>";
echo "<td colspan='2'>";
echo "<table width='357' border='0' align='center'>";
echo "<td width='206'><div align='center' class='Estilo2'>Seleccione el proceso a reiniciar:</td>";
echo "<td width='141'>";
echo "<select name='procesos' id='procesos'>";
foreach ($lineas as $linea)
{
echo $linea."<br>\r\n";
$exprCI="/(.*)\:\s(\d*)\sAppPoolId\:\s(\w*)/";
if ( preg_match ($exprCI, $linea,$match) )
{
echo "<option value='$match[2]'>$match[3]</option>";
}
}
echo "</select>";
echo "</td>";
echo "</table>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2'> </td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2' align='center'>
<input type='submit' name='Submit' value='Reiniciar' /></td>";
echo "</tr>";
echo "</table>";
}
?>
</p>
</form>