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