How to change network adapter name via command line in windows 7?

Easy enough without PowerShell:

netsh interface set interface name="Old Name" newname="New Name"

Easy enough with PowerShell:

Get-NetAdapter -Name "Old Name" | Rename-NetAdapter -NewName "New Name"

Of course, in PS, you can also select your adapter by whatever property you see fit.

Get-NetAdapter -InterfaceIndex 12 | Rename-NetAdapter -NewName "New Name"

Swiped from Technet Blogs, which has a couple of other more complicated ways.