Rename-NetAdapter
Windows
Rename Windows NIC names based on MAC address for easier identification
# in PowerShell
# notice the backtick ` for multiline commands
Get-NetAdapter | where MacAddress -eq "02-C0-FE-C0-FE-19" | `
Rename-NetAdapter -NewName ToHomelabSTATIC19
Get-NetAdapter | where MacAddress -eq "02-C0-FE-C0-FE-84" | `
Rename-NetAdapter -NewName ToRouterDHCP84