Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Start the DNS Server ServiceContent of Start the DNS Server Service.vbsMD5 Hash: AAFFE2B6D61019AEC0813CD621995AB9 |
||
' Description: Starts the DNS server service on a computer.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\MicrosoftDNS") Set colItems = objWMIService.ExecQuery("Select * From MicrosoftDNS_Server") For Each objItem in colItems objItem.StartService() Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |