-
released this
2026-05-16 11:36:45 +03:00 | 14 commits to main since this releaseFirst public release.
What it is
A tiny portable Windows tool to flip a network adapter between static IP
and DHCP with a few keystrokes. Built for the recurring engineer chore of
"give my laptop 10.10.10.1 to talk to a server's BMC, then back to DHCP."Highlights
- Single .exe, ~30 KB.
- One UAC prompt at launch; everything else is keyboard prompts.
- Picker shows only physical wired adapters — no Wi-Fi, VPN, virtual,
Hyper-V, VMware, VirtualBox, TAP/TUN, WireGuard, OpenVPN, Tailscale,
ZeroTier, Bluetooth, Loopback, WAN Miniport. - Sensible defaults for the static path:
10.10.10.1/24, gateway
optional. - Auto update check at startup polls GitHub
/releases/latest(3-second
timeout) and offers to open the page if a newer version is available.
Install
Unzip, double-click
netswitch.exe, accept UAC, pick a NIC, choose Static or
DHCP.Build from source
Install-Module ps2exe -Scope CurrentUser Invoke-ps2exe -inputFile netswitch.ps1 -outputFile netswitch.exe ` -requireAdmin -title "netswitch" -version 1.0.0.0Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
netswitch-portable-v1.0.0.zip
1 download · 14 KiB