当前位置:web 服务器 > IIS >>

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

Apache
IIS
Nginx
Tomcat
如果你遇到web 服务器难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,