
restart IIS and MTS from a script.
I am trying to find a way to restart IIS and MTS from a script.
In essence I want to achieve these command line commands:
net stop iisadmin /y
mtxstop
net start w3svc
I tried using the SHELL command from a COM wrapper to execute a batch file
containg the above commands. No luck SHELL only executes executables!!
What I really need is access to the services so I can stop and start the
relevant services vial a COM interface.
Can anybody help?
Tasha