Skip to content

Instantly share code, notes, and snippets.

@jimdiroffii
Created September 14, 2020 15:16
Show Gist options
  • Save jimdiroffii/f0514a1a3d1d6145bc968c463b7009e1 to your computer and use it in GitHub Desktop.
Save jimdiroffii/f0514a1a3d1d6145bc968c463b7009e1 to your computer and use it in GitHub Desktop.
Enable DHCP in Windows
rem Setting DHCP for interface "Local Area Connection"
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment