Skip to content

Instantly share code, notes, and snippets.

@trackscorer
Last active September 20, 2018 03:33
Show Gist options
  • Save trackscorer/5189764174f5b6a50bfc32cc54f4c21e to your computer and use it in GitHub Desktop.
Save trackscorer/5189764174f5b6a50bfc32cc54f4c21e to your computer and use it in GitHub Desktop.
wmic nic get netconnectionid
netsh
interface ip set dns name="以太网" source="static" address="8.8.8.8"
interface ip set dns name="以太网" source="static" address="10.0.0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment