Echo off
Echo Enable Company interface ...
Netsh interface Set interface "Company" enabled
DisableCompany.bat
Echo off
Echo disabled Company interface ...
Netsh interface Set interface "Company" disabled
DynamicIP.bat
Echo off
Echo getting Dynamic IP MASK GATEWAY ...
Netsh interface IP Set Addr "Router" dhcp
Echo getting Dynamic DNS
Netsh interface IP Set dns "Router" dhcp
Echo show config
Netsh interface IP show config "Router"
Echo done
StaticIP.bat
Echo off
Echo setting IP MASK GATEWAY ...
Netsh interface IP Set Addr "Router" Static 192.168.1.10 255.255.255.0 192.168.1.1 1
Echo setting DNS ...
Netsh interface IP Set dns "Router" static 192.168.1.1 primary
Echo show config
Netsh interface IP show config "Router"
Echo done