Recycle remote IIS app pool from the command line?
Posted
by
Ken
on Super User
See other posts from Super User
or by Ken
Published on 2011-01-13T22:06:55Z
Indexed on
2011/01/13
22:55 UTC
Read the original article
Hit count: 307
Is it possible to recycle an IIS7 app pool from the command line, on a different machine?
I've found APPCMD (appcmd recycle apppool my-app-pool
), but it only operates on the host it's run on, AFAICT.
I heard a rumor there might be a way to do it with Powershell, but I know nothing about that, and I'm apparently not very good at googling for it.
I'm using Vista / Server 2008, if that matters.
EDIT: I found something called WinRM that somebody claims is able to run APPCMD itself, but I'm not sure exactly how, yet.
© Super User or respective owner