Running minikube with Hyper-V

Open a PowerShell console as Administrator. Determine the name of the network adapter, such as Wi-Fi or Ethernet:

Get-NetAdapter
Create an external virtual switch named minikube that uses the selected network adapter:
New-VMSwitch -name minikube -NetAdapterName {{ AdapterName }} -AllowManagementOS $true
Reboot to clear out potential routing problems

Download the minikube Windows installer from https://github.com/kubernetes/minikube/releases, usually it is at this path:
https://github.com/kubernetes/minikube/releases/latest/download/minikube-windows-amd64.exe
or use winget:
winget install Kubernetes.minikube
Also you'll need kubectl:
winget install -e --id Kubernetes.kubectl
To initialize your minikube cluster:
minikube start --driver=hyperv
Verify:
minikube status
kubectl cluster-info
kubectl get no
You can also add extensions