IIS Recycling Application Pools

October 3, 2014

So I wrote a little VBScript to help recycle all the application pools on a single server. This will by far be the fastest script you’ll find out here. VBScript on error resume next Set args=wScript.Arguments If args.count<>1 Then wScript.echo WScript.ScriptName & ” SERVERNAME” wScript.Quit Else s=args(0) End If Set objWMIService = GetObject(“winmgmts:{authenticationLevel=pktPrivacy}\\” & s […]

0