当前位置:编程问答 > JS >

iis6+javascript Add an Extension File

答案:Description

Adds the BITS_Update.dll extension file.

复制代码 代码如下:

strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")

Set colItems = objWMIService.ExecQuery _
("Select * From IIsWebService")

For Each objItem in colItems
objItem.AddExtensionFile _
"C:\WINDOWS\system32\bits_update.dll", False, _
"BITSEXT", True, "BITS Update"
Next

上一个:excel操作之Add Data to a Spreadsheet Cell
下一个:List Installed Hot Fixes

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,