Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Release All DHCP LeasesContent of Release All DHCP Leases.vbsMD5 Hash: 1F0F7CDDFC5FE50AC92E065A66468872 |
||
' Description: Releases all the DHCP leases currently in use on a computer.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.ReleaseDHCPLeaseAll() | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |