The easiest way is to use a batch file to issue the appropriate NET STOP and NET START commands.

To determine the services involved, at a CMD prompt, type:

NET STOP IISADMIN /Y

This will stop the IIS Admin Service and all services dependent on it. You will see a message as each dependent service stops. Create a batch file that contains NET STOP IISADMIN /Y followed by a
NET START <Service Name> for each dependent service:

  Service Name                 Display Name       
  Iisadmin        IIS Admin Service  
  Msftpsvc        FTP Publishing Service  
  Nntpsvc        Microsoft NNTP Service  
  Smtpsvc        Microsoft SMTP Service  
  W3svc        World Wide Web Publishing Service  

NOTE: Service Names can be located by browsing the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.