Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List NNTP Virtual Directory PropertiesContent of List NNTP Virtual Directory Properties.vbsMD5 Hash: 4244AB45186A95BA44456CCD36E5932E |
||
' Description: Returns basic configuration information for all the NNTP virtual directories on an IIS server.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsNntpVirtualDirSetting") For Each objItem in colItems Wscript.Echo "Content Indexed: " & objItem.ContentIndexed Wscript.Echo "Don't Log: " & objItem.DontLog Wscript.Echo "Name: " & objItem.Name Wscript.Echo "Path: " & objItem.Path Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |