Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Application Configuration Cache OptionsContent of Modify Application Configuration Cache Options.vbsMD5 Hash: 84E13BDFB36D4F59A0DAFDF71D891851 |
||
' Description: Demonstration script that modifies IIS application configuration cache options.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsWebServiceSetting") For Each objItem in colItems objItem.AspDiskTemplateCacheDirectory = "C:\Cache" objItem.AspMaxDiskTemplateCacheFiles = 5000 objItem.AspScriptEngineCacheMax = 250 objItem.AspScriptFileCacheSize = 500 objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |