Setting an IP address with PowerShell

New-NetIPAddress -IPAddress 192.168.1.11 -InterfaceAlias “Ethernet” -DefaultGateway 192.168.1.1 -PrefixLength 24