.bat and .hta

menu batches are handy for people who can't remember commands. for example:

restart.bat

Code
@ECHO OFF

:START
CLS
ECHO.
ECHO Current HOSTNAME: %computername%
ECHO.
ECHO 1. Restart Local PC
ECHO 2. Restart Remote PC
ECHO.
ECHO E. EXIT
ECHO.
SET /P Choice=Please type your choice and press Enter: 
ECHO.
IF /I '%Choice%'=='1' GOTO LOCAL
IF /I '%Choice%'=='2' GOTO REMOTE
IF /I '%Choice%'=='E' GOTO END
GOTO START

:LOCAL
CLS
ECHO.
ECHO This will restart %COMPUTERNAME%
ECHO.
SET /P CHOICE=Are you sure you want to continue [Y/N]? 
IF /I '%CHOICE%'=='Y' GOTO LRESTART
IF /I '%CHOICE%'=='N' GOTO START
GOTO LOCAL
:LRESTART
SHUTDOWN /R /T 000 /F
GOTO END

:REMOTE
CLS
ECHO.
SET /P HOSTNAME=Please type HOSTNAME or IP address and press Enter: 
PING %HOSTNAME%
ECHO.
ECHO This will restart %HOSTNAME%
ECHO.
:REMOTE2
SET /P CHOICE=Are you sure you want to continue [Y/N]? 
IF /I '%CHOICE%'=='Y' GOTO RRESTART
IF /I '%CHOICE%'=='N' GOTO START
GOTO REMOTE2
:RRESTART
SHUTDOWN /M \\%HOSTNAME% /R /T 000 /F
GOTO END

:END
EXIT

i was tired of explaining how to restart a user os through rdp.