Last week I was working on HP RDP (Rapid Deployment Pack) where I want to automate the deployment of new server.
One of the task I wanted to do was: Renaming a Network Interface. As you probably know it, by default: “Local Area Connection” or “Local Area Connection 2”. But I wanted to put some custom name, such as “VLAN10”. I was able to resolve this problem with
Here is the useful command:
netsh interface set interface name="Local Area Connection" newname="ExampleLan"