Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Disable a Web Service ExtensionContent of Disable a Web Service Extension.vbsMD5 Hash: 86492075BC05AAA480ACBE3B8CF19FE5 |
||
' Description: Disables 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.DisableWebServiceExtension("WEBDAV") Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |