In order to assign static IPv4 address to Windows Server 2012 Core using power shell use:
New-NetIPAddress -IPAddress 172.16.48.11 -InterfaceAlias "Ethernet" -DefaultGateway 172.16.48.5 -AddressFamily IPv4 -PrefixLength 24
by skufel | Mar 22, 2013 | Infrastructure, Scripting, SysAdmin, Windows | 0 comments
In order to assign static IPv4 address to Windows Server 2012 Core using power shell use:
New-NetIPAddress -IPAddress 172.16.48.11 -InterfaceAlias "Ethernet" -DefaultGateway 172.16.48.5 -AddressFamily IPv4 -PrefixLength 24