![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Start the DNS Server Service
|
||
|
' 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 :: | ||