Windows Static IP Command Generator
Set a static IP, gateway and DNS on Windows 10/11 or Windows Server – as netsh or PowerShell commands, plus the commands to switch back to DHCP.
Set a static IP, gateway and DNS servers from the command line – faster than clicking through adapter settings, and perfect for Server Core, scripts and remote sessions. You get both the PowerShell and the classic netsh version, plus the commands to switch back to DHCP.
Find the adapter name
Run Get-NetAdapter in PowerShell (or netsh interface show interface) and use the exact name in the first column, such as Ethernet or Ethernet 2.
Preguntas frecuentes
Do I need an administrator prompt?
Yes. Right-click Windows Terminal or PowerShell and choose “Run as administrator”, otherwise the commands fail with “access denied”.
Más herramientas
Todas las herramientas →Robocopy Command Builder
Build a safe Robocopy command for migrations, mirrors and backups – multithreaded, with retries, logging and an optional dry run.
Abrir herramienta WindowsWindows Repair Command Generator
Pick the problem – corrupt system files, update failures, network trouble, disk errors – and get the right SFC, DISM, chkdsk or netsh sequence in the right order.
Abrir herramienta Network troubleshootingDNS Propagation Checker
Has your DNS change reached the world yet? Compare the answer from the domain’s own nameservers with Google, Cloudflare, Quad9, OpenDNS and other public resolvers.
Abrir herramienta