@echo off

SET DHCPSERVER=SU3200

cls
echo You are about to restart the DHCP services on %DHCPSERVER% !!
echo.
echo.
echo An exit code of '0' means it ran successfully !!

echo.
echo.
pause

psexec \\%DHCPSERVER% net stop "DHCP Server"

psexec \\%DHCPSERVER% net start "DHCP Server"

pause