Set-IPAddress is a PowerShell function that allows you to set the IP address, subnet mask, gateway, and DNS servers for a network adapter. Windows 8/2012 and above have built-in cmdlets for Set-NetIPAddress, but any downlevel clients and servers are stuck with netsh.
↧