Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Remotely Recycle App Pools

Posted on 2015-02-24
2
Medium Priority
?
478 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 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
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…

721 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