Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Pause a DNS ZoneContent of Pause a DNS Zone.vbsMD5 Hash: 6B560807B8DEE5E2D3FFC7C41DFD260C |
||
' Description: Pauses the DNS zone accounting.fabrikam.com.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\MicrosoftDNS") Set colItems = objWMIService.ExecQuery _ ("Select * from MicrosoftDNS_Zone Where Name = 'accounting.fabrikam.com'") For Each objItem in colItems objItem.PauseZone() Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |