Hi,
Do you mean you have created a VM but could not connect the VM to network?
You will need to first create a virtual switch so that you could connect to the Network adapter. You can create an external virtual switch and connect to your host network adapter for Internet connection.
For your reference:
Create a virtual switch for Hyper-V virtual machines
Create a virtual network
Thanks,
----------
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.