Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Force a Refresh of a DNS ZoneContent of Force a Refresh of a DNS Zone.vbsMD5 Hash: 09A8985BD0F7661EC2C87CDBAD4A41C4 |
||
' Description: Forces the refresh of the secondary DNS zone accounting.fabrikam.com from its master zone.
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.ForceRefresh() Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |