Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Start DNS Server ScavengingContent of Start DNS Server Scavenging.vbsMD5 Hash: 54D528DB71B61DDB653D0DDB6F12D752 |
||
' Description: Instructs a DNS server to begin scavenging stale records in the appropriate DNS zones.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\MicrosoftDNS") Set colItems = objWMIService.ExecQuery("Select * From MicrosoftDNS_Server") For Each objItem in colItems objItem.StartScavenging() Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |