Convert DHCP IP to Static IP on Network Interface(s)

Logic Get the Network Adapter with DHCP enabled from Win32_networkadapterconfiguration Map MACAddress from step 1 to MACAddress from Win32_NetworkAdapter to retrieve InterfaceName Set the static IP with NETSH using InterfaceName and values from Step 1 Code ########################################################################### # # NAME: DHCP-To-Static # # AUTHOR: SivaMulpuru # # COMMENT: Covert DHCP IP on the Network Adatper …

WordPress Appliance - Powered by TurnKey Linux