![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Start DNS Server Scavenging
|
||
|
' 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 :: | ||