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.
Häufige Fragen
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”.
Weitere Tools
Alle Tools →Robocopy Command Builder
Build a safe Robocopy command for migrations, mirrors and backups – multithreaded, with retries, logging and an optional dry run.
Tool öffnen 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.
Tool öffnen NetworkIPv4 Subnet Calculator
Network, broadcast, usable host range, wildcard mask and binary view for any IPv4 address and CIDR prefix.
Tool öffnen