Renewing all DHCP Leases

Some WMI classes contain static methods. Static methods do not require an instance.

([wmiclass]"Win32_NetworkAdapterConfiguration").RenewDHCPLeaseAll().ReturnValue

Twitter This Tip! ReTweet this Tip!


Posted Jul 29 2010, 08:00 AM by ps1
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.