Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remotely Recycle App Pools

Posted on 2015-02-24
2
Medium Priority
?
558 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:FSIFM
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:FSIFM
ID: 40630256
Cheers, just the ticket
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
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…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
Suggested Courses
Course of the Month12 days, 2 hours left to enroll

916 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