IIS Restart... 
Author Message
 IIS Restart...

Does anyone knows how to check IIS service using a VBS file? if it is
stopped then restart it.

thanks in advance :-)



Tue, 17 Feb 2004 06:38:36 GMT  
 IIS Restart...
You can make use the IIS admin objects to do such job. Please reference
http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/aint7e9l...
for more information and sample code.

Hope this helps,

Robin



Tue, 17 Feb 2004 13:53:38 GMT  
 IIS Restart...
http://cwashington.netreach.net/script_repository/faqs.asp?topic=wmifaq
http://cwashington.netreach.net/script_repository/faqs.asp?topic=adsifaq

has examples using both ADSI and WMI...

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--

Quote:

> Does anyone knows how to check IIS service using a VBS file? if it is
> stopped then restart it.

> thanks in advance :-)



Wed, 18 Feb 2004 04:02:34 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. restart IIS and MTS from a script.

2. Restarting IIS from within a .vbs

3. Restarting IIS

4. Howto update DLL without restarting IIS

5. how can i restart IIS programatically?

6. How do I restart W95 without bringing up the login dialog at restart

7. Restart Windows, NOT restart Computer

8. Cannot create IIS Application - doesn't see IIS on machine

9. IIS 3.0 and IIS 4.0 and VB 5

10. Importing server certifcates from IIS 4 to IIS 5 by using some scritps or tool

11. Can't Stop and Restart IIS. Are my object improperly coded ?

12. Restart computer by vbs ?

 

 
Powered by phpBB® Forum Software