To change ip address using command prompt with netsh.
The syntax would be, netsh interface ip set address “Name” static newipaddress subnet gateway metric
1. Open command prompt
2. Type, netsh interface ip set address “Local Area Connection” static 192.168.50.50 255.255.255.0 192.168.50.2 1