Hello
Thank you for posting in Q&A forum.
I suggest you try the following powershell command to create a virtual external switch which should resolve your issue:
- Click on the "Start Menu", enter PowerShell, right-click and select Run as administrator.
- Type the following command to create a new external virtual switch.
New-VMSwitch -Name ExternalSwitch -NetAdapterName Ethernet -AllowManagementOS $True
-name: What the network adapter looks like in Hyper-V Manager.
-NetAdapterName: The name of the network adapter.
-AllowManagementOS – $true for both the host and the virtual machine with internet.
Reference links:Create a Virtual Network | Microsoft Learn
I hope the information above is helpful.
Best regards
Zunhui
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.