Skip to content

Instantly share code, notes, and snippets.

@notmayo
Created February 27, 2019 16:30
Show Gist options
  • Save notmayo/8788e090e7048e43d0d6c42e820ef338 to your computer and use it in GitHub Desktop.
Save notmayo/8788e090e7048e43d0d6c42e820ef338 to your computer and use it in GitHub Desktop.
Set Local Area Connection as a static IP. Requires runas Administrator.
netsh int ip set address name="Local Area connection" static 198.220.115.3 255.255.255.0
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment