Setting the IP Address via command line – Windows Server Core

 In Server Core


So, you’ve created a windows server core machine and it’s booted up. How do you add an IP address to the network card.


Firstly grab the network interface name

either by


IPCONFIG or netsh interface ip show config

Jot down the name of your interface – on brand new builds this is more than likely going to be “Local Area Connection”

Then set the ip address with


netsh interface ip set address name=”Local Area Connection” static

This sets the IP address to on a class C subnet and a gateway of .1 – STATIC not DHCP


Recent Posts

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search