Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify an NNTP Server Setting Metabase PropertyContent of Modify an NNTP Server Setting Metabase Property.vbsMD5 Hash: 99B9C7E50021F9D8E7F7F92907FC44AC |
||
' Description: Demonstration script that modifies a metabase property (AllowClientPosts) for all NNTP server sites on a computer.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsNNTPServerSetting") For Each objItem in colItems objItem.AllowClientPosts = TRUE objItem.Put_ Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |