AppPool_recycle.js
var AppPoolName = "DefaultAppPool"; var AppPool = GetObject( "IIS://localhost/w3svc/AppPools/" + AppPoolName ); AppPool.Recycle();