Created
September 16, 2025 01:07
-
-
Save rwp0/a1dc33e9805620c224e0202c12e2b37f to your computer and use it in GitHub Desktop.
netsh aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# netsh -a alias.netsh.txt dns | |
# netsh -a alias.netsh.txt | |
# https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netsh | |
alias dns-wifi interface ipv4 show dnsservers name="Wi-Fi" | |
alias dns-ethernet interface ipv4 show dnsservers name="Ethernet" | |
alias dns interface ipv4 show dnsservers name="Wi-Fi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment