Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Enable a Web Service ExtensionContent of Enable a Web Service Extension.vbsMD5 Hash: 903B533DE562EAEDDA8A0F0BD1A15F23 |
||
' Description: Enables a Web service extension named WEBDAV.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * From IIsWebService") For Each objItem in colItems objItem.EnableWebServiceExtension("WEBDAV") Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |