netsh interface ip set address "Local Area Connection" static $IP $SNM $GW 1"
doesn't look right (there is an extra quote at the end)
netsh interface ip set address "Local Area Connection" static $IP $SNM $GW 1"
doesn't look right (there is an extra quote at the end)