Solved

Remotely Recycle App Pools

Posted on 2015-02-24
2
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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 users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

710 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