Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Thursday, August 20, 2009

How do you change the network interface name on Server Core?

To do this we are going to use the netsh command. By Default, Windows starts naming the network interfaces “Local Area Connection”. There are situations in which you may want to change this. Let’s say you have more than one network interface on your system. Maybe you use one for domain isolation. In other words. You can only talk to a set of servers on this interface that is secured with IPSec. This is a common scenario for domain controllers. To help you identify which interface you are working on, you can rename it.

Netsh interface set interface name=”Old Name” newname=”newname

For example, lets take the default interface and give it a new name.

Netsh interface set interface name=”Local Area Connectionnewname=”DCIsolation”

In the above example, we changed the default name of Local Area Connection to DCIsolation.

2 comments:

Kevin Zhu said...

Thank you for sharing how to change network interface name on Windows systems! I have looked for this answer for a whole day!!

paul p said...

Thanks for the help