Solved

Remotely Recycle App Pools

Posted on 2015-02-24
2
255 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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setting Up Local Lan Web Server 1 65
Adware on IIS hosted asp.net website 1 31
Where can I find... 1 43
Email not working after mx record created 8 44
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
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…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
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.

828 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