Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Script to recycle IIS 6 application pool

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  ASP.NET does not use debug  
Author Message
genslow

External


Since: Aug 29, 2003
Posts: 2



(Msg. 1) Posted: Fri Aug 29, 2003 2:36 pm
Post subject: Script to recycle IIS 6 application pool
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello,

I've found the script iisweb.vbs that allows me to stop and start an IIS
application but I need one that can recycle an application pool. Anyone have
one?

Thanks,
Greg

 >> Stay informed about: Script to recycle IIS 6 application pool 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Fri Aug 29, 2003 8:36 pm
Post subject: Re: Script to recycle IIS 6 application pool [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You provide the name of the AppPool.

var objAppPool = GetObject( "IIS://localhost/w3svc/AppPools/" +
appPoolName );
objAppPool.Recycle();

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Greg Enslow" <genslow RemoveThis @qwest.net> wrote in message
news:OrEFqxlbDHA.1872@TK2MSFTNGP12.phx.gbl...
Hello,

I've found the script iisweb.vbs that allows me to stop and start an IIS
application but I need one that can recycle an application pool. Anyone have
one?

Thanks,
Greg

 >> Stay informed about: Script to recycle IIS 6 application pool 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]