![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Stop the DNS Server Service
|
||
' Description: Stops the DNS server service.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\MicrosoftDNS") Set colItems = objWMIService.ExecQuery("Select * From MicrosoftDNS_Server") For Each objItem in colItems objItem.StopService() Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |