#Get-NetAdapter | select *
#Get-NetAdapter | select name, ifname, adminstatus, MediaConnectionState, LinkSpeed, PhysicalMediaType
$adapters = Get-NetAdapter -physical | where status -eq 'up';
$i        = 0;
foreach ( $adapter in $adapters ) { 
 $NewName = "Ethernet" + $i
 Rename-NetAdapter -Name $adapter.Name -NewName $NewName;
 $i++;
}
