Example:

netsh interface set interface name="Local Area Connection" newname="ExampleLan"