Description Adds the BITS_Update.dll extension file. 复制代码 代码如下:strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\" _ & strComputer & "rootmicrosoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * From IIsWebService") For Each objItem in colItems objItem.AddExtensionFile _ "C:WINDOWSsystem32bits_update.dll", False, _ "BITSEXT", True, "BITS Update" Next
推荐阅读
Sample script that displays all of the users in a given SQL Server DB
Sample script that displays all of the users in a given SQL Server DB. Supported Platforms SQL Server 2000 Yes Script Code 复制代码 代码如下:strDBServerName = "." strDBName = "ScriptingGuysTestDB">>>详细阅读
本文标题:iis6+javascript Add an Extension File
地址:http://www.17bianji.com/kaifa2/JS/30363.html
1/2 1