Improve company productivity with a Business Account.Sign Up

x
?
Solved

Remotely Recycle App Pools

Posted on 2015-02-24
2
Medium Priority
?
700 Views
Last Modified: 2015-02-25
Hi Experts,

Hoping you can help me with this?

Does any one know of any power shell scripts that would allow me to recycle a specific app pools across a farm of servers. Namely in this instance, the farm of web servers are load balanced, the app pools belonging to an application and share the same name on each server

Kind Regards
0
Comment
Question by:James Glen
2 Comments
 
LVL 25

Accepted Solution

by:
Mohammed Khawaja earned 2000 total points
ID: 40628434
There are different ways:

1.  Using PSEXEC, you could run the command "psexec \\iisserver c:\windows\system32\inetsrv\appcmd.exe recycle apppool apppoolname"
2.  Using PowerShell command "enter-PSSesiion -computername iisserver -credential username "appcmd recycle apppool apppoolname"
0
 
LVL 4

Author Closing Comment

by:James Glen
ID: 40630256
Cheers, just the ticket
0

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Media Temple is thrilled to announce the launch of our new Partner Program, specifically designed to empower digital agencies and adtech platforms by offering white-glove support and exclusive hosting enhancements to optimize their sites and their c…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question