Powershell - Hyper-V - Give a custom name to a virtual network adapter

To support me, you can subscribe to the channel, share and like the videos, disable your ad blocker or make a donation. Thank you!

Hello,

Hyper-V by default gives the name Network Adapter to virtual machine network adapters.
This can make it difficult to identify their use, but this problem can be solved with Powershell, which allows you to change the names of virtual network adapters.

# Display the network adapters of a virtual machine
Get-VMNetworkAdapter -VMName VM-01
# Rename the network adapter named Network aAdapter
Rename-VMNetworkAdapter -VMName VM-01 -Name 'Network Adapter' -NewName production

Related links