|
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
JavaScript技术:iis6+javascript Add an Extension File,转载需保留来源!
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。