In Hyper-V Virtual Switch Manager i had unticked “Allow management operating system to share this network adapter” and also enabled VLAN identification.
After applying this i lost all network connectivity to the host Hyper-V Server.
I had to access it through the console and run PS cmdlet:
Remove-VMSwitch “Name of Switch”
1 of them was in use so i had to stop running VMs:
then Get-VM | Stop-VM
I also had to plug in USB and run nvspbind script which allowed me to clear the settings of Ethernet and Ethernet 2 adapters.
The scripts and process can be found in the below links.
This has now restored connectivity to the Hyper-V Core Server.