Tuesday, June 19, 2007

netsh

Thanks to Scott Hanselman for the netsh tip. ipconfig sucks.

netsh (how-to)

netsh interface ip show config

netsh interface ip set address "Local Area Connection" dhcp

netsh interface ip set address "Local Area Connection" static ipaddr subnetmask gateway metric

netsh interface ip set address "Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1

No comments: