pyipchg

Description

Application allows user to change their IP address via command line on windows OS. User may be able to avoid using multiple windows dialogs to change their IP. Currently IPv6 is not supported, and at this time no arguments are provided for selected prefered interface.

Usage

pyipchg [-h] [--version] [-lnic] [-ip IP] [-sub SUB] [-gat GAT] [-dhcp] [-reach REACH]

Setup Enviroment

  1. Install python if not previously installed
  2. Install pip if not already installed
  3. pip install pywin32
  4. pip install wmi
  5. git clone https://github.com/robaldwin9/pyipchg

Arguments

args description
-h, --help show this help message and exit
--version show program's version number and exit
-lnic list network interface cards information
-ip IP ipv4 address
-sub SUB subnetmask, changes only if ip provided
-gat GAT Default Gateway, changes only if ip provided
-dhcp Auto attain IP from DHCP
-reach REACH Check if ip is reachable

Confirmed OS Support