JAaron Anderson
asked on
HowTo script reboot of SMTP service on Windows 2003 IIS 6
I have rebootiis.exe and it works find for word wide publishing service but I need a .vbs script or exe file also to have on desktop to just double-click to restart SMTP also...
does anyone know a working solution for Windows Server 2003 IIS6 ?
thanks bunches !
does anyone know a working solution for Windows Server 2003 IIS6 ?
thanks bunches !
ASKER
I need to capitalize on using Smtpsvc Microsoft SMTP Service somehow
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
dumb oversight
ASKER
@echo off
REM - File: iisrestart.bat
REM - Description: Restart's IIS SMTP
REM - Author: Pete Freitag
REM - ADD REM comments if you don't want to restart any
REM - of Services
REM - echo Restarting IIS SMTP...
REM - echo ==========================
net stop "Simple Mail Transport Protocol (SMTP)"
net start "Simple Mail Transport Protocol (SMTP)"
REM - echo ==========================
REM - echo IIS Restarted